SA-MP Forums Archive
I have no clue [+rep] - 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: I have no clue [+rep] (/showthread.php?tid=500576)



I have no clue [+rep] - JessThompson - 13.03.2014

C:\Users\liam\Desktop\NLRP\gamemodes\UGRP [1].pwn(8036) : error 014: invalid statement; not in switch
C:\Users\liam\Desktop\NLRP\gamemodes\UGRP [1].pwn(8036) : warning 215: expression has no effect
C:\Users\liam\Desktop\NLRP\gamemodes\UGRP [1].pwn(8036) : error 001: expected token: ";", but found ":"
C:\Users\liam\Desktop\NLRP\gamemodes\UGRP [1].pwn(8036) : error 029: invalid expression, assumed zero
C:\Users\liam\Desktop\NLRP\gamemodes\UGRP [1].pwn(8036) : fatal error 107: too many error messages on one line




>>>>>> this is the line >>>>>case 16:
{
employer = "SvR";
switch(PlayerInfo[targetid][pRank])
{
case 1: rank = "Junior Infomant";
case 2: rank = "Junior Agent";
case 3: rank = "Agent";
case 4: rank = "Senior Agent";
case 5: rank = "Agent of Influence";
case 6: rank = "Lieutenate";
case 7: rank = "Divisional Supervisor";
case 8: rank = "Divisional Director";
case 9: rank = "Vice Director";
case 10: rank = "Director";
default: rank = "Trainee";
}
switch(PlayerInfo[targetid][pDivision])
{
case 1: division = "TnR";
case 2: division = "Field Ops";
case 3: division = "CMD";
case 4: division = "AD";
case 5: division = "Espionage";
default: division = "";
}


Re: I have no clue [+rep] - JessThompson - 13.03.2014

Bump help please


Re: I have no clue [+rep] - JessThompson - 13.03.2014

Helppppppppppp


Re: I have no clue [+rep] - Matess - 13.03.2014

Show me more code... i think you forgot } or something