SA-MP Forums Archive
[HELP] Scripting - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Scripting (/showthread.php?tid=108195)



[HELP] Scripting - makogemata - 12.11.2009

I need one CMD what destroyÒ‘s car what i did i spawned..
Must be FS

Something like that
Код:
new PlayersVehicle[MAX_PLAYERS];
Код:
new PlayersVehicle[playerid] = CreateVehicle(vehicle, x, y, z, a+90, -1, -1, -1);
Код:
if(!strcmp(cmdtext, "/addel", true))
{
if(PlayersVehicle[playerid] != 0)
DestroyVehicle(PlayersVehicle[playerid]);
return true;
}
I need that that CMD is for admins 1337..

Somebody can make that?..




Re: [HELP] Scripting - MB@ - 12.11.2009

Just Put IsPlayerAdmin(playerid);


Re: [HELP] Scripting - makogemata - 12.11.2009

Can u make all FS to me?
I need it very much!


Re: [HELP] Scripting - Woet - 12.11.2009

This is the first and final time I warn you before you can enjoy a ban.

'Make a proper subject with a short description, such as 'Gates won't open' or 'Game crashes instantly''