daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (strcmp("/teleport", cmdtext, true) == 0)
  2.     {  if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
  3.        {
  4.           SendClientMessage(playerid,color,"You must be the driver");
  5.        }
  6.        else if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT || PLAYER_STATE_DRIVER)
  7.        {
  8.        new getv = GetPlayerVehicleID(playerid);
  9.        SetVehiclePos(getv,-2337.2236,-1650.2164,483.7031);
  10.        SetPlayerPos(playerid,-2337.2236,-1650.2164,483.7031);
  11.        PutPlayerInVehicle(playerid,getv,0);
  12.        }
  13.        return 1;
  14.     }
RAW Paste Data
Top