SA-MP Forums Archive
GetPlayerVirtualWorld - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetPlayerVirtualWorld (/showthread.php?tid=65715)



GetPlayerVirtualWorld - Schock - 15.02.2009

whats wrong with this?
pawn Код:
if GetPlayerVirtualWorld(i, == 0) && (AccountInfo[i][AdminLevel] >= 1 || IsPlayerAdmin(i))



Re: GetPlayerVirtualWorld - SilentMouse - 15.02.2009

Quote:
Originally Posted by Schock
pawn Код:
if (GetPlayerVirtualWorld(i)==0 && (AccountInfo[i][AdminLevel] >= 1 || IsPlayerAdmin(i)))



Re: GetPlayerVirtualWorld - rensfromrpas - 15.02.2009

Код:
Quote:
Originally Posted by MilentSouse
Quote:
Originally Posted by Schock
pawn Код:
if (GetPlayerVirtualWorld(i, == 0) && (AccountInfo[i][AdminLevel] >= 1 || IsPlayerAdmin(i)))


? why don't you post anything?

try this:
Код:
new world = GetPlayerVirtualWorld(playerid);
if(world == 0 && (AccountInfo[i][AdminLevel] >= 1 || IsPlayerAdmin(i)))
{
//do something here
}
EDIT: lol whats this?!



Re: GetPlayerVirtualWorld - SilentMouse - 15.02.2009

Lol, fail quote much?

And look at my code and his, they are different.


Re: GetPlayerVirtualWorld - Think - 15.02.2009

Quote:
Originally Posted by MilentSouse
Lol, fail quote much?

And look at my code and his, they are different.
be4 you edited it it was wrong xD


Re: GetPlayerVirtualWorld - SilentMouse - 15.02.2009

Quote:
Originally Posted by Pandabeer1337
Quote:
Originally Posted by MilentSouse
Lol, fail quote much?

And look at my code and his, they are different.
be4 you edited it it was wrong xD
No, before i edited it, it was still different to the original.