Car spawner system
#5

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;
}
Reply


Messages In This Thread
Car spawner system - by DanTzi - 14.01.2012, 09:30
Re: Car spawner system - by Oh - 14.01.2012, 09:33
Re: Car spawner system - by thimo - 14.01.2012, 09:34
Re: Car spawner system - by DanTzi - 14.01.2012, 09:37
Re: Car spawner system - by cruising - 14.01.2012, 09:42

Forum Jump:


Users browsing this thread: 1 Guest(s)