VIP help
#12

Ehm that stock IsAVip(playerid) (no forward needed) I made was actually already good.
pawn Код:
stock IsAVip(playerid, reqlevel = 1)
    PlayerInfo[playerid][pDonateRank] >= reqlevel ? true : false;
And here's a little command with ZCMD about that thing you posted

pawn Код:
CMD:entervip(playerid, params[])
{
    if(!IsAVip(playerid)) return 0;
    if(!IsPlayerInRangeOfPoint(playerid, 8, 1797.4569, -1578.9788, 14.0858)) return 0;
    SetPlayerInterior(playerid, 7);
    SetPlayerPos(playerid, 773.579956, -77.096694, 1000.655029);
    GameTextForPlayer(playerid, "~w~VIP", 5000, 1);
    PlayerInfo[playerid][pInt] = 14;
    return 1;
}
And you can change the 'return 0;' with 'return SendClientMessage(playerid, 0xFF0000AA, "Message");'. Change "Message" with the message you wanna show (eg. "Vips only!" and "You're not near the entrance!")
Reply


Messages In This Thread
Fixed - by Ifreezesir - 12.03.2011, 14:34
Re: VIP help - by Kwarde - 12.03.2011, 14:36
Re: VIP help - by Ifreezesir - 12.03.2011, 14:48
Re: VIP help - by Ifreezesir - 12.03.2011, 15:17
Re: VIP help - by Ifreezesir - 12.03.2011, 15:41
Re: VIP help - by Ifreezesir - 12.03.2011, 16:04
Re: VIP help - by Markx - 12.03.2011, 16:09
Re: VIP help - by Kwarde - 12.03.2011, 16:10
Re: VIP help - by Ifreezesir - 12.03.2011, 16:29
Re: VIP help - by Ifreezesir - 12.03.2011, 16:36
Re: VIP help - by Ifreezesir - 12.03.2011, 16:39
Re: VIP help - by Kwarde - 12.03.2011, 17:14
Re: VIP help - by Ifreezesir - 12.03.2011, 17:18
Re: VIP help - by Kwarde - 12.03.2011, 17:22
Re: VIP help - by Ifreezesir - 12.03.2011, 17:37
Re: VIP help - by Ifreezesir - 12.03.2011, 17:57
Re: VIP help - by Kwarde - 12.03.2011, 19:56

Forum Jump:


Users browsing this thread: 3 Guest(s)