13.03.2010, 05:31
Quote:
Originally Posted by [AC
Etch ]
idk what u trying to do but if u want that if player is engineer and he type this command , he explode , here is it : Код:
if(strcmp(cmdtext, "/placemine", true) == 0) { if( gPlayerClass[playerid] == ENGINEER ) { SetPlayerHealth(giveplayerid, 10); new Float:burnx, Float:burny, Float:burnz; GetPlayerPos(playerid,burnx, burny, burnz); CreateExplosion(burnx, burny , burnz, 7,10.0); } return 1; } |