SA-MP Forums Archive
Car spawner system - 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: Car spawner system (/showthread.php?tid=310888)



Car spawner system - DanTzi - 14.01.2012

Someone got one?


Re: Car spawner system - Oh - 14.01.2012

Like a /veh CarId Color Color2?


Re: Car spawner system - thimo - 14.01.2012

Just /rcon loadfs fsdebug and use /v to spawn vehicle /w for weather /w2 for guns /time for time


Re: Car spawner system - DanTzi - 14.01.2012

Quote:
Originally Posted by Oh
Посмотреть сообщение
Like a /veh CarId Color Color2?
Yes, exactly.


Re: Car spawner system - cruising - 14.01.2012

pawn Код:
CMD:createcar(playerid, params[])
{
        new veh,color1,color2;
        if (!sscanf(params, "iii", veh, color1,color2))
        {
          new Float:x, Float:y, Float:z;
          GetPlayerPos(playerid, x,y,z);
          AddStaticVehicle(veh, x,y,z,0,color1, color2);
        }
        else SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /createcar <carid> <c1> <c2>");
    return 1;
}