03.10.2010, 14:18
guys pls tell me when ill tupe /explodeme to explode the player who tupe it i make this but idk i thing need one more line
i know need something GetPlayerPos(playerid) but idk am not sure
Thanks
pawn Код:
if(strcmp("/explodeme", cmdtext, true, 10) == 0)
{
CreateExplosion(0.0, 0.0, 0.0, 1, 10.0);
SetPlayerHealth(playerid, 0.0);
return 1;
}
Thanks