01.10.2010, 15:32
error :
script :
Код:
C:\SaMp 0.3b R2\gamemodes\gf.pwn(10894) : warning 209: function "cmd_househelp" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 8220 bytes Code size: 1379020 bytes Data size: 24807148 bytes Stack/heap size: 16384 bytes; estimated max. usage=4124 cells (16496 bytes) Total requirements:26210772 bytes 1 Warning.
Код:
CMD:helperhelp(playerid, params[]) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_GREEN,"_______________________________________"); if (PlayerInfo[playerid][pHelper] >= 1) { SendClientMessage(playerid, COLOR_GRAD1, "*1* HELPER *** /goto /h(elper) chat /unfreeze /hsay"); } if (PlayerInfo[playerid][pHelper] == 2) { SendClientMessage(playerid, COLOR_GRAD1, "*2* HELPER *** /goto /h(elper) chat /unfreeze /hsay"); } if (PlayerInfo[playerid][pHelper] == 3) { SendClientMessage(playerid, COLOR_GRAD1, "*3* HELPER *** /goto /h(elper) chat /unfreeze /hsay"); } if (PlayerInfo[playerid][pHelper] == 4) { SendClientMessage(playerid, COLOR_GRAD1, "*4* HELPER *** /goto /h(elper) chat /unfreeze /hsay /makehelper"); } SendClientMessage(playerid, COLOR_GREEN,"_______________________________________"); } return 1; }