27.07.2010, 17:07
Код:
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.
Код:
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; } } } }