03.06.2013, 16:25
Hello, I wanted to create OnPlayerLogin callback, but it's not quetly working my way.
What I have:
include:
Admin Script:
If i try calling OnPlayerLogin(playerid) it says that it's unimplemented.
Another script ex. Gamemode:
so, could you tell me what is the thing I've done wrong?
Thanks.
What I have:
include:
pawn Code:
forward OnPlayerLogin(playerid);
pawn Code:
CallLocalFunction("OnPlayerLogin","i",playerid);
Another script ex. Gamemode:
pawn Code:
public OnPlayerLogin(playerid)
{
SendClientMessage(playerid,0xFFFFFFAA,"You've logged in!");
return 1;
}
Thanks.