Spawning Vehicle in Virtual World's
#1

Hello,

I Have this script :-
pawn Код:
SetPlayerVirtualWorld(playerid, 0);
new rand = random(sizeof(Rustlerspawns));
new veh = CreateVehicle(476,Rustlerspawns[rand][0],Rustlerspawns[rand][1],Rustlerspawns[rand][2],Rustlerspawns[rand][3],-1,-1,-1);
PutPlayerInVehicle(playerid,veh,0);
InRustler[playerid] = 1;
Its Virtual World, It works fine.
But when i do it virtual world 1, it dont.
Please Anyone Help?
Reply
#2

https://sampwiki.blast.hk/wiki/SetVehicleVirtualWorld
Reply
#3

pawn Код:
SetPlayerVirtualWorld(playerid, 0);
new rand = random(sizeof(Rustlerspawns));
new veh = CreateVehicle(476,Rustlerspawns[rand][0],Rustlerspawns[rand][1],Rustlerspawns[rand]
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid),GetPlayerVirtualWorld(playerid));
[2],Rustlerspawns[rand][3],-1,-1,-1);
PutPlayerInVehicle(playerid,veh,0);
InRustler[playerid] = 1;
Try that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)