23.06.2014, 08:34
Hello everyone!
Can someone explain me how can I make that specific ussername can use commands before he's logged in.
I have set that you can't type when you aren't logged in at onplayertext
I made a stock like this
and added this @ onplayertext
But it's not working
Can someone explain me how can I make that specific ussername can use commands before he's logged in.
I have set that you can't type when you aren't logged in at onplayertext
I made a stock like this
Код:
stock test(playerid) { new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); if(!strcmp(pName,"Test_Test",false)) return 0; }
Код:
if(!PlayerLogged(playerid) || test(playerid))