Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:gotoab(playerid, params[])
- {
- if(IsPlayerConnected(playerid))
- {
- if(PlayerInfo[playerid][pHelper] >= 1 || PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pSkripter] >= 1)
- {
- if (GetPlayerState(playerid) == 2)
- {
- new tmpcar = GetPlayerVehicleID(playerid);
- SafeTeleport[playerid] = 1;
- SetVehiclePos(tmpcar, -532.8,2595,53.35);
- TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
- }
- else
- {
- SetPlayerPos(playerid, -532.8,2595,53.35);
- }
- SCM(playerid, COLOR_GRAD1, " Portovali ste se do "OLDEXT" Admin Baze!");
- SetPlayerInterior(playerid,0);
- PlayerInfo[playerid][pInt] = 0;
- SetPlayerVirtualWorld(playerid, 0);
- TogglePlayerControllable(playerid,0);
- UcitavanjeIgraca(playerid);
- }
- else
- {
- SCM(playerid, COLOR_GRAD1, " Niste ovlasceni da koristite ovu komandu!");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement