17.08.2011, 01:25
Heey guys,
I want to make if someone logs into rcon he gets money but how can i do that?
I want to make if someone logs into rcon he gets money but how can i do that?
public OnRconLoginAttempt(ip[], password[], success)
{
if(success) //If the password was correct
{
GivePlayerMoney(playerid, amount); //Change amount to howmuch money you want him to get.
}
return 1;
}