27.06.2018, 11:01
new pickupnrg;
public OnGameModeInit()
{
pickupnrg = CreatePickup(1318, 2, 790.2700,-2129.1924,60.8927, 4);
}
if(pickupid == pickupnrg)
{
new vehicleid = GetPlayerVehicleID(playerid);
CreateVehicle(522, 790.2700,-2129.1924,60.8927,34.8686, -1, -1, 60);
SetVehicleVirtualWorld(522, 4);
PutPlayerInVehicle(playerid, vehicleid, 0);
}
is this correct ?
i can see arrow pickup in virtual world 4 but its not spawning nrg when pickup
public OnGameModeInit()
{
pickupnrg = CreatePickup(1318, 2, 790.2700,-2129.1924,60.8927, 4);
}
if(pickupid == pickupnrg)
{
new vehicleid = GetPlayerVehicleID(playerid);
CreateVehicle(522, 790.2700,-2129.1924,60.8927,34.8686, -1, -1, 60);
SetVehicleVirtualWorld(522, 4);
PutPlayerInVehicle(playerid, vehicleid, 0);
}
is this correct ?
i can see arrow pickup in virtual world 4 but its not spawning nrg when pickup