- 0
/gotocp comanda
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Davidoff7776
Salut! Ma mai puteti ajuta cu o comanda?
CMD:gotocp(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1) return 1; if(InGame[playerid] == 1) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda deoarece esti in arena! Foloseste comanda /leavearena pentru a iesi."); SetPlayerPosEx(playerid,CheckpointPos[playerid][0], CheckpointPos[playerid][1], CheckpointPos[playerid][2]); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); new string[180]; format(string, sizeof(string), "AdmCmd: %s s-a teleportat la checkpoint.", GetName(playerid)); if(GetPVarInt(playerid, "Cover") == 0) SendAdminMessage(COLOR_LOGS, string, 1); return 1; }Aceasta comanda teleporteaza un admin la un checkpoint dar as dori daca va pricepeti sa-i mai adaugati un SendClientMessage atunci cand nu are niciun checkpoint pe mapa. De exemplu
Multumesc anticipat!
9 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