Vehicle Script Help
#2

This is so

pawn Код:
CMD:acar(playerid,params[])
{
    if(pInfo[playerid][pAdmin] >=3)
    {
        new vehicleID,color1,color2;
        if(sscanf(params,"ddd",vehicleID,color1,color2)) return SendClientMessage(playerid,COLOR_GREY,"Usage: /acar [Vehicle ID] [Color 1] [Color 2]");
        {
            new Float:X,Float:Y,Float:Z;
            GetPlayerPos(playerid,X,Y,Z);
            CreateVehicle(vehicleID,X,Y,Z,90,color1,color2,0);
        }
    }
    else
    {
        SendClientMessage(playerid,COLOR_GREY,"You are not authorized to use this command.");
    }
    return 1;
}
Reply


Messages In This Thread
Vehicle Script Help - by Tigas001 - 02.09.2012, 02:01
Re: Vehicle Script Help - by Shockey HD - 02.09.2012, 06:44
Re: Vehicle Script Help - by Tigas001 - 02.09.2012, 10:46
Re: Vehicle Script Help - by Shockey HD - 02.09.2012, 17:38

Forum Jump:


Users browsing this thread: 1 Guest(s)