Useful Commands
#4

well to use this you need to have ZCMD include and scccanf
pawn Код:
COMMAND:acar(playerid,params[])
{
    new Float:_X_,Float:_Y_,Float:_Z_,veh,color1,color2;
    GetPlayerPos(playerid,_X_,_Y_,_Z_);
    if (!sscanf(params, "iii", veh, color1,color2))
    {
    AddStaticVehicle(veh,_X_,_Y_,_Z_,0,color1, color2);
    }
    else SendClientMessage(playerid, COLOR_ERROR, "Usage: /veh [carid] [Color 1] [Color 2]");
    return 1;
}
Reply


Messages In This Thread
Useful Commands - by [HK]Ryder[AN] - 29.10.2012, 16:25
Re: Useful Commands - by Luis- - 29.10.2012, 16:29
Re: Useful Commands - by Lordzy - 29.10.2012, 16:34
Re: Useful Commands - by Abhishek. - 29.10.2012, 16:34
Re: Useful Commands - by [HK]Ryder[AN] - 29.10.2012, 16:42
Re: Useful Commands - by [D]ry[D]esert - 29.10.2012, 16:45
Re: Useful Commands - by Abhishek. - 29.10.2012, 17:01
Re: Useful Commands - by [D]ry[D]esert - 29.10.2012, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)