Advertisement
WaGnerLima

Teleporte

Jul 16th, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.55 KB | None | 0 0
  1. CMD:monte (playerid,params[]){
  2.         {
  3.             {
  4.                }
  5.             if (GetPlayerState(playerid) == 2)
  6.                 {
  7.                     new tmpcar = GetPlayerVehicleID(playerid);
  8.                     SetVehiclePos(tmpcar, -2233.7336,-1736.8186,480.8216); LinkVehicleToInterior(tmpcar, 0);
  9.                 }
  10.                 else
  11.                 {
  12.                     SetPlayerInterior(playerid,0);
  13.                     SetPlayerVirtualWorld(playerid,0);
  14.                     SetPlayerPos(playerid,-2233.7336,-1736.8186,480.8216);
  15.                     SetPlayerFacingAngle(playerid,226.0);
  16.                 }
  17.             MSGPLAYER(playerid, COLOR_YELLOW, "Teleportado Com sucesso. ");
  18.         }
  19.         return 1;
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement