need a little help - 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: need a little help (
/showthread.php?tid=127128)
need a little help -
aircombat - 12.02.2010
is there a way to define : "if(GetPlayerRank(playerid) == 1) {" as : "if(PlayerInfo[playerid][vip] {"
?
________
Fix Ps3
Re: need a little help -
mansonh - 12.02.2010
You mean repace it in the code?
There is no real way to repace the entire if(....) function with another if(...) function.
You can make a function, but not sure exactly what you want.
Re: need a little help -
dice7 - 12.02.2010
somewhere in your script
pawn Код:
GetPlayerRank(playerid) return PlayerInfo[playerid][vip];
Re: need a little help -
aircombat - 15.02.2010
error 021: symbol already defined: "GetPlayerRank"
error 017: undefined symbol "vip"
________
Paxil Sickness