SA-MP Forums Archive
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)
+--- Thread: help! (/showthread.php?tid=334823)



help! - oscar7610 - 16.04.2012

Hey guys my friends is needing help with his enter points e is trying to put enter point for only vip members here is the code.

How to make this point for vip only to enter a checkpoint for vip.


CreateEnter("{FFFFFF}[ {00CCFF}Gym {FFFFFF}]\n{FFFFFF}Press {00CCFF}ENTER",2480.9927,1525.0839,11.7813, 773.579956,-77.096694,1000.655029,7);


Re: help! - @Riichard - 16.04.2012

Exemple :
pawn Код:
if(PlayerInfo[playerid][VipYeah] >= 1) // VipYeah = Variable VIP. Change!
{
CreateEnter("{FFFFFF}[ {00CCFF}Gym {FFFFFF}]\n{FFFFFF}Press {00CCFF}ENTER",2480.9927,1525.0839,11.7813, 773.579956,-77.096694,1000.655029,7);
I think that's what you want!


Re: help! - oscar7610 - 16.04.2012

hey riichard can you help me in the other one please title "if player"


Re: help! - @Riichard - 16.04.2012

What is your variable of the VIP?
enum,variable etc..


Re: help! - oscar7610 - 16.04.2012

my friend told me to post this it was for him he said thanks it worked. now can you help me.

https://sampforum.blast.hk/showthread.php?tid=334818