Useful Commands
#5

Quote:
Originally Posted by -Luis
Посмотреть сообщение
Why not use ZCMD instead? Strcmp is old and shit.
You can add commands in replies made of ZCMD. this is just the start
Quote:
Originally Posted by Lordz™
Посмотреть сообщение
Why another topic when 'Useful Snippets' exist? Users do post commands on Useful Snippets so I don't feel another topic has to be created..
Maybe, but all people don't think that, and a seperate topic for cmds might be nice.
Quote:
Originally Posted by [bot]fatninja
Посмотреть сообщение
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;
}
Thanks for posting something..

Waiting for ****** to sticky it.
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)