- 0
Probleme /gotoxyz
-
Similar Content
-
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
barni
Bună ziua dragilor, aş dori să mă ajutaţi şi pe mine într-o problemă.
As dori sa fac dupa modelul de mai jos o coamnda de tip /gotoxyz care sa afiseze catre admin (level 1) sytanxa de ''/gotoxyz [coordonate] [int] si tot incerc sa o fac si imi da erori, ma puteti ajuta?
template comanda.
if(strcmp(cmd, "/gotolv", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdministrator] >= 1) { if(GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1699.2, 1435.1, 10.7); } else { SetPlayerPos(playerid, 1699.2,1435.1, 10.7); } SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); } else { SendClientMessage(playerid, COLOR_GREY, "Nu esti autorizat sa folosesti comanda!"); } } return 1; }5 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