Faction Div error! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Faction Div error! (
/showthread.php?tid=426746)
Faction Div error! -
James Bob - 30.03.2013
I have these error's on my script, after I changed the div's around, and now its giving me 5 errors, any help is thanked!
pawn Код:
switch(PlayerInfo[playerid][pDivision]); // Error line 51137
{
case 2: division = " (General Duties)"; // Error line 51139
Код:
F:\HS-RP o.3x new\gamemodes\I-RP lol.pwn(51137) : error 001: expected token: "{", but found ";"
F:\HS-RP o.3x new\gamemodes\I-RP lol.pwn(51139) : error 014: invalid statement; not in switch
F:\HS-RP o.3x new\gamemodes\I-RP lol.pwn(51139) : warning 215: expression has no effect
F:\HS-RP o.3x new\gamemodes\I-RP lol.pwn(51139) : error 001: expected token: ";", but found ":"
F:\HS-RP o.3x new\gamemodes\I-RP lol.pwn(51139) : error 029: invalid expression, assumed zero
F:\HS-RP o.3x new\gamemodes\I-RP lol.pwn(51139) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Re: Faction Div error! -
Scrillex - 30.03.2013
switch(PlayerInfo[playerid][pDivision]) // Error line 51137
{
case 2:
division = ("General Duties");
}
Re: Faction Div error! -
James Bob - 30.03.2013
Quote:
Originally Posted by Scrillex
switch(PlayerInfo[playerid][pDivision]) // Error line 51137
{
case 2:
division = ("General Duties");
}
|
That doesn't help at all, do you have teamviewer and could help?
Re: Faction Div error! -
Scrillex - 30.03.2013
yeah send me pm
with id and pw
Re: Faction Div error! -
MP2 - 30.03.2013
That syntax makes no sense at all. You should use format().