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


You say this ??

Код:
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;
}
C:\Users\Sakura\GTA cosas varias\sa-mp-0.2X.win32\filterscripts\TunePainjob.pwn(105) : error 017: undefined symbol "Paintjob"
C:\Users\Sakura\GTA cosas varias\sa-mp-0.2X.win32\filterscripts\TunePainjob.pwn(105) : warning 215: expression has no effect
C:\Users\Sakura\GTA cosas varias\sa-mp-0.2X.win32\filterscripts\TunePainjob.pwn(105) : error 001: expected token: ";", but found "]"
C:\Users\Sakura\GTA cosas varias\sa-mp-0.2X.win32\filterscripts\TunePainjob.pwn(105) : error 029: invalid expression, assumed zero
C:\Users\Sakura\GTA cosas varias\sa-mp-0.2X.win32\filterscripts\TunePainjob.pwn(105) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664

4 Errors.


My example.


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: 7 Guest(s)