21.07.2012, 19:24
Hello, At the moment I have this for my onplayerrequest spawn calback:
When i press Shift in my script to spawn, it repeats the SendClientMessage about 4 times a second. Is there an easy fix to this? If not ill just make a varaible and timer.
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(PlayerNotLoggedIntoAcc[playerid] == true){
SendClientMessage(playerid, COLOR_RED, "Please /login first");
return 0;
}
return 1;
}