- 0
Admin Telepport CMD
-
Similar Content
-
- 0 replies
- 354 views
-
-
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
kidu13
Vreau sa fac o comanda de teleporare pentru adminii level 2. " /gotospawn "
Am facut asa .. dar imi da eroare :
if(strcmp(cmd, "/gotospawn", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 2) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 898.1884,-1664.2604,13.5469); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; } else { SetPlayerPos(playerid, 898.1884,-1664.2604,13.5469); } SendClientMessage(playerid, COLOR_GRAD1, " You have been teleported !"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command !"); } } return 1;Astept un raspuns :*
P.S => Am incercat si Teleport Maker , dar acelasi rezultat :P
4 answers to this question
Recommended Posts