29.03.2009, 14:56
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) : 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.