24.03.2010, 14:43
Код:
if (strcmp("/dm4", cmdtext, true, 10) == 0) { SendClientMessage(playerid,0xFF66FFAA," Dm zone 4"); SetPlayerPos(playerid,2767.7849,-1446.1348,66.8672); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,30,10000); SetPlayerHealth(playerid,100.0); SetPlayerArmour(playerid, 100); return 1; } if (strcmp("/dm1", cmdtext, true, 10) == 0) { SendClientMessage(playerid,0xFF66FFAA," Dm zone 1"); SetPlayerPos(playerid,1574.5226,-1249.8947,277.8788); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,24,10000); SetPlayerHealth(playerid,100.0); SetPlayerArmour(playerid, 100); return 1; } if (strcmp("/dm2", cmdtext, true, 10) == 0) { SendClientMessage(playerid,0xFF66FFAA," Dm zone 2"); SetPlayerPos(playerid,1484.8605,-1261.4529,113.7795); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,25,10000); SetPlayerHealth(playerid,100.0); SetPlayerArmour(playerid, 100); return 1; }