PDA

View Full Version : Same Interiors = bug.


Thanks
03/08/2017, 11:41 PM
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?

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;
}

and i also making TOP Script for them...

Vince
04/08/2017, 05:31 AM
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).

Thanks
04/08/2017, 08:18 AM
Can you exaplin to me like a code? given me a example code and i'll try it ? ty.

Thanks
12/08/2017, 07:37 PM
anyone? its took +4weeks non reply.

Thanks
12/08/2017, 09:51 PM
HELP ME PLEASE.

Misiur
12/08/2017, 10:37 PM
What have you tried? Vince explained what has to be done. Go ogle specific keywords if you don't know what they mean