25.07.2011, 18:25
There seems to be a problem :/
I have this code
}
}
return 1;
}
[/QUOTE]
It compiles fine but when the VIP Joins it just says "VIP Member Id:[Randomnumber thats not true] has joined the server"
Second problem :P
Code:
Compiles with a few errors
And when the VIP connects there is no 3d tag :/
I would appritiate it alot if anyone could help
I have this code
Quote:
public OnPlayerSpawn(playerid) { if(IsPlayerVipMember(playerid)) { if(IsPlayerConnected(playerid)) { new sendername[MAX_PLAYER_NAME]; new string[128]; format(string, sizeof(string), "VIP Member %s (Id:%d) has just joined the server", sendername); SendClientMessageToAll(0xFFFF00AA, string); |
}
return 1;
}
[/QUOTE]
It compiles fine but when the VIP Joins it just says "VIP Member Id:[Randomnumber thats not true] has joined the server"
Second problem :P
Code:
Quote:
public OnPlayerSpawn(playerid) { if(IsPlayerVipMember(playerid)) { if(IsPlayerConnected(playerid)) { new PlayerText3D:PlayerVIPText; new Float:X, Float:Y, Float:Z; GetPlayerPos( playerid, X, Y, Z ); PlayerVIPText = CreatePlayer3DTextLabel(playerid,"VIP Player",0x008080FF,X,Y,Z,40.0); } } return 1; } |
Quote:
C:\Users\Joe\Desktop\New Folder\filterscripts\vip.pwn(47) : warning 213: tag mismatch C:\Users\Joe\Desktop\New Folder\filterscripts\vip.pwn(5 ![]() C:\Users\Joe\Desktop\New Folder\filterscripts\vip.pwn(61) : warning 219: local variable "PlayerVIPText" shadows a variable at a preceding level C:\Users\Joe\Desktop\New Folder\filterscripts\vip.pwn(64) : warning 204: symbol is assigned a value that is never used: "PlayerVIPText" C:\Users\Joe\Desktop\New Folder\filterscripts\vip.pwn(64 -- 6 ![]() |
I would appritiate it alot if anyone could help
