Assumed Zero
#1

Error :
Код:
C:\Users\Administrator\Desktop\GTARP\gamemodes\LSSLRPSAM.pwn(38322) : error 029: invalid expression, assumed zero
Line :
Код:
				{  if(PlayerInfo[playerid][pRank] == 7 { format(string, sizeof(string), "** (( Owner )) **", sendername, result); }
Area Around Line :
Код:
				else if(member==9)
				{  if(PlayerInfo[playerid][pRank] == 7 { format(string, sizeof(string), "** (( Owner )) **", sendername, result); }
				  else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** (( Director %s: %s )) **", sendername, result); }
					else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** (( Manager %s: %s )) **", sendername, result); }
					else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** (( Radio DJ %s: %s )) **", sendername, result); }
					else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** (( Reporter %s: %s )) **", sendername, result); }
					else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** (( Writer %s: %s )) **", sendername, result); }
					else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** (( Trainee %s: %s )) **", sendername, result); }
					else { format(string, sizeof(string), "** (( Intern %s: %s )) **", sendername, result); }
					SendFamilyMessage(PlayerInfo[playerid][pMember], 0x7BDDA5AA, string);
				}
I Dont Understand :S
Reply
#2

Fixed:
pawn Код:
{ if(PlayerInfo[playerid][pRank] == 7) { format(string, sizeof(string), "** (( Owner )) **", sendername, result); }
Reply
#3

Thanks !
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)