03.08.2017, 23:41
Hi everyone. There a bug.. when im trying to make 2Shops like same Interios Example: Burger Shot There alot of shops in same Map right? So im making a Enter Checkpoint and Exit Checkpoint so After i making 2shops like same pickups for exit There will be a Bug... What is it? I enter A Burger shot at LS After i need exit it I'll teleport to LV Burger Shot because making 2Pickups in same interior How to fix it pls?
and i also making TOP Script for them...
PHP код:
if(pickupid == Burger[1] && !PickupCooldown[playerid])
{
if(GetPlayerVirtualWorld(playerid)==10)
{
SetPlayerPos(playerid, 2363.6062,2071.2256,10.8203);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
}
if(GetPlayerVirtualWorld(playerid)== 20)
{
SetPlayerPos(playerid, 2469.3982,2034.7217,11.0625);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
}
if(PickupCooldown[playerid])
{
PickupCooldown[playerid] = 0;
}