31.05.2010, 20:54
Don't judge indentation. It's a lot better in Pawno.
...When you join the server, this script was ment for players who have an VIP account, but it also shows for players who aren't even members to the server..
Any Ideas on how to fix this?
pawn Код:
if(IsPlayerVipType(playerid,1))
{
Silver[playerid] = Create3DTextLabel("Silver Memeber",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Silver[playerid], playerid, 0.0, 0.0, 0.7);
}
if(IsPlayerVipType(playerid,2))
{
Gold[playerid] = Create3DTextLabel("Gold Memeber",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Gold[playerid], playerid, 0.0, 0.0, 0.7);
}
if(IsPlayerVipType(playerid,3))
{
Premium[playerid] = Create3DTextLabel("Premium Memeber",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Premium[playerid], playerid, 0.0, 0.0, 0.7);
}
Any Ideas on how to fix this?