Advertisement
arturo24

SF Bomb Shop Teleport

Jun 19th, 2022
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. CMD:sfbomb(playerid,params[]) {
  2. if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
  3. instunt[playerid] = 1;
  4. TeleTimer[playerid] = SetTimerEx("ttimer", 1000, true, "i",playerid);
  5. tseconds[playerid] = 5;
  6. format(tstring,45,"You Must wait %d seconds before teleporting", tseconds[playerid]-1);
  7. if(PlayerInfo[playerid][Level] == 0) SendClientMessage(playerid,COLOR_LIGHTBLUE, tstring);
  8. vCount[playerid] = 1;
  9. Tx[playerid] =-1685.636474;
  10. Ty[playerid] =1035.476196;
  11. Tz[playerid] =45.210937;
  12. Ti[playerid] = 0;
  13. new string[128];
  14. new dsname[MAX_PLAYER_NAME];
  15. format(telestring,43,"~b~~h~] SF Bomb Shop ]");
  16. GetPlayerName(playerid, dsname, sizeof(dsname));
  17. format(string, sizeof(string), "[TELE]: %s Has Just Teleported To SF Bomb Shop Garage /sfbomb", dsname);
  18. SendClientMessageToAll(lightblue, string);
  19. return 1;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement