Advertisement
Guest User

Untitled

a guest
Sep 20th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. YCMD:car(playerid,params[],help)
  2. {
  3. new Float:x; new Float:y; new Float:z;
  4. GetPlayerPos(playerid,x,y,z);
  5. new carid = CreateVehicle(411,x,y,z,0,1,1,5);
  6. SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(playerid)+1);
  7. SetVehicleVirtualWorld(carid,GetPlayerVirtualWorld(playerid));
  8. PutPlayerInVehicle(playerid,carid,0);
  9. SetPVarInt(playerid,"Veh",carid);
  10. return true;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement