Why this script doesnt work ?
#1

PHP Code:
CMD:vcolor(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] < 3) return 0;
    new 
color1color2;
    if(
sscanf(params,"ui"color1color2)) return SendClientMessage(playeridCOLOR_RED,"USAGE: /vcolor [COLOR 1] [COLOR 2]");
     
ChangeVehicleColor(GetPlayerVehicleID(playerid),color1,color2);
     
SendClientMessage(playerid,COLOR_BLUE,"Your car was resprayed");
    return 
1;

Reply


Messages In This Thread
Why this script doesnt work ? - by bustern - 05.09.2013, 21:12
Re: Why this script doesnt work ? - by Pawnie - 05.09.2013, 21:23
Re: Why this script doesnt work ? - by bustern - 05.09.2013, 21:39
Re: Why this script doesnt work ? - by CaveDweller - 05.09.2013, 22:06

Forum Jump:


Users browsing this thread: 3 Guest(s)