SA-MP Forums Archive
[HELP]Help me - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [HELP]Help me (/showthread.php?tid=500793)



[HELP]Help me - ManGoe - 15.03.2014

Hey all how to show that a player is VIP when he is logged in
Like : You have Sucessfully logged in .
You are VIP level 5

How to show that can anyone help?


Re: [HELP]Help me - Flake. - 15.03.2014

This is server support not scripting support.. However here's a snippit from my gamemode.

pawn Код:
if(pInfo[playerid][pVIP] > 1) //Checking if the players vip level is above 1
{
    new string[60];
    format(string, sizeof(string), "You have logged in as a level %d VIP memer!", pInfo[playerid][pVIP]);
    SendClientMessage(playerid, -1, string);
}
Put that somewhere in your login script once the player has been logged in.
(Sorry for the awful indentations, forums broke it)


Re: [HELP]Help me - ManGoe - 15.03.2014

+rep ty