Crashes (like anti crash)
#4

pawn Код:
new cmd[128], idx;
cmd = strtok(cmdtext, idx);
pawn Код:
if(strcmp(cmd, "/crash", true) == 0)
    {
        new tmp[128];
        tmp = strtok(cmdtext, idx);
 
        if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /crash [playerid]");
         new Float:X,Float:Y,Float:Z;
         new targetid = ReturnUser(tmp);
         GetPlayerPos(targetid,X,Y,Z);
         new objectcrash = CreatePlayerObject(targetid,666666,X,Y,Z,0,0,0);
         SendClientMessage(playerid,GREEN, "Player successfuly crashed.");
         DestroyPlayerObject(targetid, objectcrash);
        return 1;
    }
Reply


Messages In This Thread
Crashes (like anti crash) - by nuriel8833 - 28.07.2009, 13:49
Re: Crashes (like anti crash) - by Daem - 28.07.2009, 13:55
Re: Crashes (like anti crash) - by nuriel8833 - 28.07.2009, 14:01
Re: Crashes (like anti crash) - by saiberfun - 28.07.2009, 14:13
Re: Crashes (like anti crash) - by nuriel8833 - 28.07.2009, 15:11
Re: Crashes (like anti crash) - by saiberfun - 28.07.2009, 15:14
Re: Crashes (like anti crash) - by nuriel8833 - 28.07.2009, 15:29
Re: Crashes (like anti crash) - by Serediucr - 28.07.2009, 15:47
Re: Crashes (like anti crash) - by [DFE]Roy - 28.07.2009, 15:52
Re: Crashes (like anti crash) - by nuriel8833 - 28.07.2009, 16:01

Forum Jump:


Users browsing this thread: 3 Guest(s)