[Solved] Need a Paintjob command (Thanks guys)
#9

pawn Код:
//On top of the script
new PaintJob[MAX_PLAYERS];
//Back down
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/paint", true)==0)
   {
new vehicleid = GetPlayerVehicleID(playerid);
new cartype = GetVehicleModel(vehicleid);

if(cartype == 562){     // Elegy
ChangeVehiclePaintjob(vehicleid, Paintjob[playerid]);
Paintjob[playerid] ++;


SendClientMessage(playerid,COLOR_BLUE,"[INFO] Elegy tuneado!");
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);}

return 1;}

    return 0;
}
Reply


Messages In This Thread
[Solved] Need a Paintjob command (Thanks guys) - by SakuraBloss - 27.03.2009, 23:14
Re: [HELP] Need a Paintjob command - by zanakinz - 27.03.2009, 23:40
Re: [HELP] Need a Paintjob command - by MenaceX^ - 27.03.2009, 23:41
Re: [HELP] Need a Paintjob command - by SakuraBloss - 28.03.2009, 00:14
Re: [HELP] Need a Paintjob command - by SakuraBloss - 28.03.2009, 01:27
Re: [HELP] Need a Paintjob command - by SakuraBloss - 29.03.2009, 13:55
Re: [HELP] Need a Paintjob command - by FUNExtreme - 29.03.2009, 14:45
Re: [HELP] Need a Paintjob command - by SakuraBloss - 29.03.2009, 14:56
Re: [HELP] Need a Paintjob command - by FUNExtreme - 29.03.2009, 14:58
Re: [HELP] Need a Paintjob command - by SakuraBloss - 29.03.2009, 15:24

Forum Jump:


Users browsing this thread: 4 Guest(s)