17.12.2011, 17:50
Hey i need help with these errors, I suck soo much with dialogs and would appreciate help!!
ERRORS:
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7310) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7310 -- 7311) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7312) : error 017: undefined symbol "params"
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7314) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7314 -- 7315) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7316) : error 017: undefined symbol "params"
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : warning 217: loose indentation
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : error 014: invalid statement; not in switch
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7318 -- 7319) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7318 -- 7319) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
10 Errors.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
switch(dialogid)
{
case teleports:// Our dialog!
{
switch(listitem)// Checking which listitem was selected
{
case: 0
{
return cmd_stunts(playerid,params);
}
case: 1
{
return cmd_deathmatches(playerid,params);
}
case: 2
{
return cmd_parkours(playerid,params);
}
case: 3
{
return cmd_roleplays(playerid,params);
}
}
}
return 1;
}
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7310) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7310 -- 7311) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7312) : error 017: undefined symbol "params"
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7314) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7314 -- 7315) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7316) : error 017: undefined symbol "params"
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : warning 217: loose indentation
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : error 014: invalid statement; not in switch
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7318 -- 7319) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7318 -- 7319) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
10 Errors.