About rcon login - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: About rcon login (
/showthread.php?tid=453037)
About rcon login -
Saddin - 23.07.2013
Can I put in my gamemode then when anyone try to type rcon password if he isn't for example "Name_Surname" to ban him or kick.
So, to let only player with "Name_Surname" to login, my nickname in game ... ?
Re: About rcon login -
ConnorHunter - 23.07.2013
pawn Код:
GetPlayerName(playerid, sendername, sizeof(sendername));
if(strcmp(sendername, "Name_Surname", true) == 0
That's what you would use.
Re: About rcon login -
Saddin - 26.07.2013
It gives me error.
I want to put it when anyone try to rcon login, if his name isn't for example Name_Surname to kick player.