Same Interiors = bug.
#1

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?

PHP код:
 if(pickupid == Burger[1] && !PickupCooldown[playerid])
    {
    if(
GetPlayerVirtualWorld(playerid)==10)
    {
        
SetPlayerPos(playerid2363.6062,2071.2256,10.8203);
        
SetPlayerInterior(playerid0);
        
SetPlayerVirtualWorld(playerid0);
    }
    if(
GetPlayerVirtualWorld(playerid)== 20)
    {
        
SetPlayerPos(playerid2469.3982,2034.7217,11.0625);
        
SetPlayerInterior(playerid0);
        
SetPlayerVirtualWorld(playerid0);
    }
    if(
PickupCooldown[playerid])
    {
    
PickupCooldown[playerid] = 0;
    } 
and i also making TOP Script for them...
Reply
#2

Create an array of the exterior locations. Also use Dynamic pickups for ease of use. Upon entering a store, store the pickupid in a player variable. When the player exits get the location of the pickup the player used to enter by using the id you stored and put the player at that position (Streamer_GetFloatData).
Reply
#3

Can you exaplin to me like a code? given me a example code and i'll try it ? ty.
Reply
#4

anyone? its took +4weeks non reply.
Reply
#5

HELP ME PLEASE.
Reply
#6

What have you tried? Vince explained what has to be done. Go ogle specific keywords if you don't know what they mean
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)