Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/gotols", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if(PlayerInfo[playerid][pAdmin] >= 3)
- {
- if (GetPlayerState(playerid) == 2)
- {
- new tmpcar = GetPlayerVehicleID(playerid);
- SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);
- TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
- }
- else
- {
- SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
- }
- SendClientMessage(playerid, COLOR_GRAD1, " Usted ha sido teletransportado !");
- SetPlayerInterior(playerid,0);
- PlayerInfo[playerid][pInt] = 0;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD1, " Usted no está autorizado a utilizar el comando !");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement