virtual world problems
#1

hey.....

i have 3 banks

.Los Santos
.San Fierro
.Las Venturas


For Example robber in Los Santos Bank

And Cops In San Fierro Bank
if cop did /arrest it will arrest the player that is in Los Santos Bank cops can arrest near players and thats happening so vritual worlds arent making people far

so how could i make if player is in virtual 1 he can't arrest 2 etc...

sorry for bad english
Reply
#2

you check if the cop and the robber are in the same virtual world.
Reply
#3

i knew problem

give me code


if(player is in same virtual of ID)
{
}

then it will work
Reply
#4

pawn Код:
if(GetPlayerVirtualWorld(copid) == GetPlayerVirtualWorld(playerid))
{
    //code
}
Reply
#5

aw thxx broo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)