08.03.2011, 10:54
You need to:
After your return 1; on your:
BTW. I would remove ''I Can Help You in Scripting'' from your sig. Gives the wrong impression.
Код:
return 0
Код:
OnPlayerCommandText(playerid, cmdtext[])
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/ParkDM", cmdtext, true ,7) == 0) { SetPlayerPos(playerid,1171.6135,2785.9299,10.8203); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,26,1100); GivePlayerWeapon(playerid,31,3500); GivePlayerWeapon(playerid,16,100); GivePlayerWeapon(playerid, 26, 10000); GivePlayerWeapon(playerid, 27, 10000); SetPlayerSkin(playerid,287); SendClientMessage(playerid, COLOR_YELLOW, "Teleported to ParkDM"); return 1; } return 0; }