Guest User

Untitled

a guest
Jan 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. public OnPlayerCommandText(playerid, cmdtext[])
  2. {
  3. if(strcmp("/island", cmdtext, true) == 0){
  4. new Pveh;
  5. Pveh = GetPlayerVehicleID(playerid);
  6. SetPlayerPos(playerid, -1270.91064453 ,,3963.08642578 ,80.90812683);
  7. SetVehiclePos(Pveh,-1270.91064453 ,,3963.08642578 ,80.90812683);
  8. SetPlayerFacingAngle(playerid, 0);
  9. SetVehicleZAngle(Pveh, 0);
  10. SetPlayerInterior(playerid, 0);
  11. LinkVehicleToInterior(Pveh, 0);
  12. SetPlayerVirtualWorld(playerid, 0);
  13. SetVehicleVirtualWorld(Pveh, 0);
  14. SendClientMessage(playerid, 0x3DD926FF, "This is the island!");
  15. return 0;
  16. }
Add Comment
Please, Sign In to add comment