Salut, am incercat metoda asta pentru a da kick playerilor care joaca de pe telefon dar inca pot intra. Ma puteti ajuta?
La functia OnPlayerLoginIn am adaugat
if(FPS2[playerid]-1 == 0)
{SCM(playerid, COLOR_CLIENT, "You can not play from a phone. This server is pc only.");
new string[128];
format(string, sizeof(string), "AdmBot: %s was kicked by AdmBot, reason: playing from a phone.", GetName(playerid));
SendAdminMessage(COLOR_LIGHTRED, string, 1);
return KickEx(playerid);}
Am cautat peste tot prin GM ce inseamna acel FPS2[playerid]-1 dar nu gasesc, uneori cand sunt aratate FPS-urile, de ex la comanda /id apare FPS[playerid], dar uneori apare FPS[playerid]-1. Cum imi pot da seama ca un jucator joaca de pe telefon?
Question
TheGodfather
Salut, am incercat metoda asta pentru a da kick playerilor care joaca de pe telefon dar inca pot intra. Ma puteti ajuta?
La functia OnPlayerLoginIn am adaugat
if(FPS2[playerid]-1 == 0)
{SCM(playerid, COLOR_CLIENT, "You can not play from a phone. This server is pc only.");
new string[128];
format(string, sizeof(string), "AdmBot: %s was kicked by AdmBot, reason: playing from a phone.", GetName(playerid));
SendAdminMessage(COLOR_LIGHTRED, string, 1);
return KickEx(playerid);}
Am cautat peste tot prin GM ce inseamna acel FPS2[playerid]-1 dar nu gasesc, uneori cand sunt aratate FPS-urile, de ex la comanda /id apare FPS[playerid], dar uneori apare FPS[playerid]-1. Cum imi pot da seama ca un jucator joaca de pe telefon?
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now