Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 06-15-2001, 12:49 AM
freddyfox freddyfox is offline
Banned
freddyfox's Avatar
Join Date: Mar 2001
Posts: 6,705
freddyfox is on a distinguished road
Quote:
Originally posted by AlexH
infact
here we go

if (weaponfired) {
setani whatever,;playerap-=5
}

Are you acting stupid to try and impress us?

NPC Code:

if(weaponfired&&this.smoking==0){
this.smoking = 1;
setplayergani smoking.gani;
timeout = 6;
}
if(timeout&&this.smoking==1){
//insert the NPC server -ap script here
timeout = 6;
}
if(weaponfired&&this.smoking==1){
this.smoking = 0;
}


Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.