19.01.2011, 10:03
hello i have a problem i cannot seem to get the person to spawn with guns
my code is
i am sorry if i posted this in the wrong place...
that code is the only code i could get to compile if i did
it came up with errors about closing braces
thanks in advance, Jaydon
my code is
i am sorry if i posted this in the wrong place...
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(listitem == 0) { SetPlayerSkin(playerid, 112); SetPlayerPos(playerid,1918.3838,-2255.6760,13.5469); GivePlayerWeapon(playerid,352,500); GivePlayerWeapon(playerid,355,500); GivePlayerWeapon(playerid,358,500); } if(listitem == 1) { SetPlayerSkin(playerid, 1); SetPlayerPos(playerid,1989.7607,-2604.9336,18.6034); GivePlayerWeapon(playerid,352,500); GivePlayerWeapon(playerid,355,500); GivePlayerWeapon(playerid,358,500); } if(listitem == 2) { Kick(playerid); } } return 1; }
Код:
........ if(listitem == 2) { Kick(playerid); } } } } return 1; }
thanks in advance, Jaydon