18.05.2010, 10:15
how i do it ?
if(IsLogged[playerid] == 0 ) { return 0; SendClientMessage(playerid ,COLOR_RED , "You Need 2 Login For Spawn USAGE: /login [password]"); SendClientMessage(playerid ,COLOR_RED , " if You Not Register Do Register | USAGE: /register [password]"); } |
Originally Posted by rong13
Quote:
i can spawn before login |
#define LOGIN_BEFORESPAWN
public OnPlayerRequestSpawn(playerid)
{
#if defined LOGIN_BEFORESPAWN
if(IsLogged[playerid] == 0 )
{
return SendClientMessage(playerid,COLOR_RED,"You need to login before you spawn.");
}
#endif
return 1;
}