11.07.2014, 07:42
This is basic code.. I suggest searching the forums next time.
pawn Код:
public OnPlayerConnect(playerid)
{
if(PlayerInfo[playerid][vip] == 1)
{
new str[70], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(str, sizeof(str), "VIP %s has joined the server!", pName);
SendClientMessageToAll(0x001080, str);
}
return 1;
}