03.11.2013, 12:55
Weird, just made this!
The use of these thing is at
Errors:
Any ideas to fix this? (Need to do this gamemode fast, this problem got my stuck for some minutes, still can't figure it out what's wrong. Checked this errors for thrice...
pawn Код:
stock KickWhenNotRegister(playerid)
{
SendClientMessage(playerid, -1, "{ff0000}=KICKED=: {ffffff}To play here, you must register an account here! Sorry!");
SetTimerEx("KickWithMsg", 1000, 0, "d", playerid);
}
stock KickWhenNotLoggedIn(playerid)
{
SendClientMessage(playerid, -1, "{ff0000}=KICKED=: {ffffff}To continue your session, it's necesscary to login to your account! Sorry!");
SetTimerEx("KickWithMsg", 1000, 0, "d", playerid);
}
pawn Код:
if(!response) return KickWhenNotRegister(playerid);
if(!response) return KickWhenNotLoggedIn(playerid);
Код:
B:\NewProject\gamemodes\CnR.pwn(418) : warning 209: function "KickWhenNotRegister" should return a value B:\NewProject\gamemodes\CnR.pwn(448) : warning 209: function "KickWhenNotLoggedIn" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.