String Help
#3

Код:
if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
					{
					  new currank[64];
					  new string[128];
  					if(PlayerInfo[playerid][pRank] == 1) { currank = "Cadet"; }
						else if(PlayerInfo[playerid][pRank] == 2) { currank = "Officer"; }
						else if(PlayerInfo[playerid][pRank] == 3) { currank = "Senior Officer"; }
						else if(PlayerInfo[playerid][pRank] == 4) { currank = "Sergeant"; }
						else if(PlayerInfo[playerid][pRank] == 5) { currank = "Lieutenant"; }
						else if(PlayerInfo[playerid][pRank] == 6) { currank = "Captain"; }
						else if(PlayerInfo[playerid][pRank] == 7) { currank = "Deputy Chief"; }
	    			else if(PlayerInfo[playerid][pRank] == 8) { currank = "Chief"; }
						else { currank = "Cadet"; }
						format(string, sizeof(string), "Welcome To Duty %s", currank);
						SendClientMessage(playerid,COLOR_GREEN1337, string);


I still get

C:\Users\S Alpha\Desktop\NewScripts\gamemodes\fray.pwn(6305) : error 017: undefined symbol "string"
C:\Users\S Alpha\Desktop\NewScripts\gamemodes\fray.pwn(6305) : error 017: undefined symbol "string"
C:\Users\S Alpha\Desktop\NewScripts\gamemodes\fray.pwn(6305) : error 029: invalid expression, assumed zero
C:\Users\S Alpha\Desktop\NewScripts\gamemodes\fray.pwn(6305) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664			Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
String Help - by CharlieScene - 17.12.2009, 01:21
Re: String Help - by bigcomfycouch - 17.12.2009, 01:27
Re: String Help - by CharlieScene - 17.12.2009, 01:33
Re: String Help - by CharlieScene - 17.12.2009, 20:51
Re: String Help - by Ironboy500 - 17.12.2009, 20:53
Re: String Help - by *ToM* - 17.12.2009, 21:01
Re: String Help - by CharlieScene - 18.12.2009, 22:40

Forum Jump:


Users browsing this thread: 1 Guest(s)