VIP room - 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: VIP room (
/showthread.php?tid=282947)
VIP room -
Ecstacy - 13.09.2011
hey guys...is there any script and map for VIP room in lasventuras?
Re: VIP room -
Kingunit - 13.09.2011
Do you have a register system? If you are saving VIP's then it's possible. You need to create it by yourself with mapping a room. Then create a teleport only for VIP's for example:\
pawn Код:
CMD:viproom(playerid, params[])
{
if(PlayerInfo[playerid][Vip] < 0) return SendClientMessage(playerid, COLOR_RED, ".:: Error: You cannot enter this room since you aren't VIP! ::.")
SetPlayerPos(Playerid. x, y, z);
SendClientMessage(playerid, COLOR_WHITE, "[SERVER] Welcome! You entered the VIP room!");
// This is just a example. This will help you to start.
}
Re: VIP room -
Ecstacy - 13.09.2011
i use lux admin system that have /setvip command...is it possible to use it for my server ?
Re: VIP room -
Kingunit - 13.09.2011
Yes, but idk what Luxadmin is using. You need to replace
pawn Код:
if(PlayerInfo[playerid][Vip] < 0)
To the one from Luxadmin.