onplayerrequestspawn weird bug -
KillerStrike23 - 24.04.2014
I have this weird bug when player try to use admin skin it works perfectly but
pawn Код:
if(ServerInfo[AdminOnlySkins] == 1) {
if( (GetPlayerSkin(playerid) == ServerInfo[AdminSkin]) ) {
if(PlayerInfo[playerid][Level] >= 1)
SetPlayerHealth(playerid, 100);
else {
if(PlayerInfo[playerid][Level] >= 0)
SendClientMessage(playerid, red, "You are not an admin to use this skin");
return 0;}}}
when he press shift lotsnlots of messages appear why? it must be just one message as all servers
Re: onplayerrequestspawn weird bug -
KillerStrike23 - 24.04.2014
bump
Re: onplayerrequestspawn weird bug -
DarkLored - 24.04.2014
it depends how long he is pressing Shift try clicking then quickly releasing it.
Re: onplayerrequestspawn weird bug -
KillerStrike23 - 24.04.2014
nah dude its a bug I tried all of that I had gone to another server but its just sends one weird
Re: onplayerrequestspawn weird bug -
KillerStrike23 - 24.04.2014
bump again
Re: onplayerrequestspawn weird bug -
Mattakil - 25.04.2014
your indentations gave me a stroke.
should only have one bracket.
(I fixed that and changed the indentations so I can read it better for more issues)
pawn Код:
if(ServerInfo[AdminOnlySkins] == 1)
{
if(GetPlayerSkin(playerid) == ServerInfo[AdminSkin])
{
if(PlayerInfo[playerid][Level] >= 1)
{
SetPlayerHealth(playerid, 100);
}
else
{
if(PlayerInfo[playerid][Level] >= 0)
{
SendClientMessage(playerid, red, "You are not an admin to use this skin");
}
}
}
return 0;
}
Though your code doesn't make sense, what are you trying to do
Re: onplayerrequestspawn weird bug -
KillerStrike23 - 25.04.2014
no brother still the same bump
Re: onplayerrequestspawn weird bug -
KillerStrike23 - 25.04.2014
Can You Explain how dude, I have like 4 skins onplayerrequestspawn my clan skin, admin skin, another clan skin, and owner skin it all have the same problem lots of messages I guess it bothers the players ... it just pull over the screen I need a serious help ...
Re: onplayerrequestspawn weird bug -
KillerStrike23 - 25.04.2014
so why it don't happen at other servers its just a question why am I the only one who have this thing ? I know you are pro dude use your magic and show me codes I don't understand lots of words I need something with realty I know you can help
Re: onplayerrequestspawn weird bug -
KillerStrike23 - 25.04.2014
I will do what you had say but please can you explain !! please dude