14.10.2009, 18:34
hey well this is my code, its in OnPlayerSpawn it works except it doesn't give the player the weapon?
it doesn't give the player the weapon but everything else works?
Код:
if(DMZone[playerid] == 2) { SendClientMessage(playerid, 0x00FF00AA, "Fight each other to the death!, To leave DM Type /leavedm"); SendClientMessageToAll(agreen, string); SetPlayerPos(playerid,199.3792,173.4266,1003.0234); SetPlayerInterior(playerid, 3); GivePlayerWeapon(playerid, 9, 10); return 1; }