06.12.2012, 17:39
pawn Код:
new pname[MAX_PLAYER_NAME];
new Nome = GetPlayerName(playerid,pname,sizeof(pname));
new LiderOrg = OrgInfo[PlayerInfo[playerid][pLeader]][Lider];
if(strcmp(LiderOrg,Nome) != 0) [10862]
{
Alguem?
new pname[MAX_PLAYER_NAME];
new Nome = GetPlayerName(playerid,pname,sizeof(pname));
new LiderOrg = OrgInfo[PlayerInfo[playerid][pLeader]][Lider];
if(strcmp(LiderOrg,Nome) != 0) [10862]
{
if(strcmp(PlayerInfo[playerid][pLiderOrg],Nome, true ) != 0)
if(strcmp(OrgInfo[PlayerInfo[playerid][pLeader]][Lider],GetPlayerName(playerid,pname,sizeof(pname)), true ) != 0)
C:\Users\L\Desktop\Nova pasta\gast\[Brasil Start Life]\gamemodes\BSL.pwn(10860) : error 035: argument type mismatch (argument 2)
if(strcmp(LiderOrg,Nome) != 0)
if(strcmp(PlayerInfo[playerid][pLiderOrg],Nome) != 0)
if(strcmp(LiderOrg, Nome) != 0)