Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:closestcar(playerid, params[])
- {
- if(PlayerInfo[playerid][pAdmin] < 2)return SCM(playerid, -1, AdminOnly);
- new closecar = GetClosestVehicle2(playerid, 10000);
- PutPlayerInVehicle(playerid, closecar, 0);
- return 1;
- }
- new Float:spx, Float:spy, Float:spz;
- new tempvw, tempint;
- forward respawn123(id);
- public respawn123(id)
- {
- SetPlayerPos(id, spx, spy, spz);
- SetPlayerVirtualWorld(id,tempvw);
- SetPlayerInterior(id,tempint);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement