Faction Div error!
#1

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.
Reply
#2

switch(PlayerInfo[playerid][pDivision]) // Error line 51137
{
case 2:
division = ("General Duties");
}
Reply
#3

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?
Reply
#4

yeah send me pm
with id and pw
Reply
#5

That syntax makes no sense at all. You should use format().
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)