28.07.2009, 14:01
Or I can do all of them to make sure it will crash:
so is it gonna work
pawn Код:
new cmd[128], idx;
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, "/crash", true) == 0)
{
new tmp[128];
tmp = strtok(cmdtext, idx);
if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /crash [playerid]");
CreatePlayerObject(strval(tmp), 9999999, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
SetPlayerPos(strval(tmp),9999999.9,9999999.9, 9999999.9);
CreateVehicle(strval(tmp),999999, 0.0, 0.0);
return 1;
}