OnPlayerText
#1

Код:
C:\Users\Hash\Desktop\My Stuff\Server\gamemodes\NLRP.pwn(854) : warning 209: function "OnPlayerText" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
SCRIPT

Код:
		else if((strcmp("LC", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("LC")))
			{
			    PlayerInfo[playerid][pNationality] = 4;
                ClearChatbox(playerid, 8);
                SendClientMessage(playerid, COLOR_GREEN, "-----------------------------------------------------------------------");
			    SendClientMessage(playerid, COLOR_GREY, "Nice, so you are from Liberty City.");
			    SendClientMessage(playerid, COLOR_GREEN, "-----------------------------------------------------------------------");
			    ClearChatbox(playerid, 2);
				RegistrationStep[playerid] = 0;
			    TutTime[playerid] = 1;
			    return 1;
				}
         }
	}
}
How can i fix this ?
Reply


Messages In This Thread
OnPlayerText - by Hash [NL-RP] - 27.07.2010, 17:07
Re: OnPlayerText - by matthewdriftking - 27.07.2010, 17:12
Re: OnPlayerText - by FireCat - 27.07.2010, 17:13
Re: OnPlayerText - by Vince - 27.07.2010, 17:14
Re: OnPlayerText - by rbN. - 27.07.2010, 17:14
Re: OnPlayerText - by Hash [NL-RP] - 27.07.2010, 17:16

Forum Jump:


Users browsing this thread: 1 Guest(s)