Help plz, sistem tune
#1

Help plz I..
have a problem with this system, of the tune, here the problem:

Quote:

C:\Users\Juan1226\Desktop\xD\gamemodes\sika.pwn(65 65 : warning 225: unreachable code
C:\Users\Juan1226\Desktop\xD\gamemodes\sika.pwn(65 65 : error 029: invalid expression, assumed zero
C:\Users\Juan1226\Desktop\xD\gamemodes\sika.pwn(65 658 -- 65659) : warning 215: expression has no effect
C:\Users\Juan1226\Desktop\xD\gamemodes\sika.pwn(65 659) : error 001: expected token: ";", but found "if"
C:\Users\Juan1226\Desktop\xD\gamemodes\sika.pwn(65 659) : error 017: undefined symbol "dialogid"
C:\Users\Juan1226\Desktop\xD\gamemodes\sika.pwn(65 659) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

And this is the error line:

Quote:

)
if(dialogid == DIALOG_TYPE_PAINTJOBS)
{
if(response)
{
switch(listitem)// Checking which list item was selected
{

Reply
#2

Give us the lines above these lines.
Reply
#3

you forgot any ";" before your "if"
Reply
#4

Quote:
Originally Posted by Divergent
Посмотреть сообщение
Give us the lines above these lines.
these are

Quote:

//------------------------All car that are allowed to mod------------------------------------------------------------
function ModCar(playerid)
{
switch(pmodelid[playerid])
{
case 562,565,559,561,560,575,534,567,536,535,576,411,57 9,602,496,518,527,589,597,419,533,526,474,545,517, 410,600,436,580,439,549,491,445,604,507,585,587,46 6,492,546,551,516,426, 547, 405, 409,
550, 566, 540, 421, 529,431,438,437,420,525,552,416,433,427,490,528,40 7,544,470,598,596,599,601,
428,499,609,524,578,486,406,573,455,588,403,514,42 3,414,443,515,456,422,482,530,418,572,413,440,
543,583,478,554,402,542,603,475,568,504,457,483,50 8,429,541,415,480,434,506,451,555,477,400,404,489, 479,
442,458,467,558,444:
{
TogglePlayerControllable(playerid,0);
return SendClientMessage(playerid, COLOR_WHITE, "[INFO] Select an item and push the SPACEBAR to approve.");
}
default: return SendClientMessage(playerid,COLOR_RED,"Un error ocurriу, no puedes modificar este vehнculo");
}
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
)

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)