SA-MP Forums Archive
Hello Guys - 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)
+--- Thread: Hello Guys (/showthread.php?tid=528728)



Hello Guys - SkRiLLeX032 - 29.07.2014

i Maked


Re: Hello Guys - SkRiLLeX032 - 29.07.2014

BUMB


Re: Hello Guys - SkRiLLeX032 - 29.07.2014

Help Guys please will Rep.


Re: Hello Guys - Stanford - 29.07.2014

I have created a special /addcar command for you:

pawn Код:
CMD:addcar(playerid, params[])
{
    new id, string[50], Float:X, Float:Y, Float:Z, Float:FA;
    if(sscanf(params,"i", id)) return SendClientMessage(playerid, -1, "/addcar [carid]");
    if(id < 400 || id > 611) return SendClientMessage(playerid, -1, "Car IDs cannot be more than 611 or less than 400.");
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, FA);
    CreateVehicle(id, X, Y, Z, FA, 0, 0, -1);
    format(string,sizeof(string), "You have successfully spawned a car with the type (%i).", id);
    SendClientMessage(playerid, -1, string);
    return 1;
}
Not tested, I hope that you will try my command as well.

Any feedback would be appreciated!