
03-31-2006, 03:23 PM
|
|
G2K1 Developer
|
 |
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
|
|
|
#p() or pramas[] refers to the paramater sent from the the triggeraction to the action.. in this case sending paramaters from clientside to serverside so
gs1 (which you shouldn't be using anymore)
triggeraction 0,0,serverside,Weapon,#a,test1,test2;
#a = the first paramater or #p(0)
test1 = the second paramater or #p(1)
so on and so forth
gs2
triggeraction(0,0,"serverside","Weapon",player.acc ount,"test1","test2");
player.account = the first paramter or params[0]
so on and so forth i am sure you get the idea by now and if your not triggering an action to a weapon the it just starts the first paramater after the action its calling
IE: triggeraction(x,y,"serverside",player.account);
hope that cleared it up a bit better for you |
__________________
|
|
|
|