Guest User

Untitled

a guest
Sep 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. if(strcmp(cmd,"/Race", true) == 0)
  2. {
  3. if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  4. {
  5. SetVehiclePos(GetPlayerVehicleID(playerid),X,Y,Z);
  6. SetVehicleZAngle(GetPlayerVehicleID(playerid),A);
  7. }else{
  8. SetPlayerPos(playerid,X,Y,Z);
  9. SetPlayerFacingAngle(playerid, A);
  10. }
Add Comment
Please, Sign In to add comment