10.02.2013, 08:53
Hello sa-mp.com !!!
I have some problems with my server.
When i compile my script , pawno give me some errors. :
Quote:
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(11143) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(11144) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30030) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30031) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30032) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30033) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30039) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
And line is :
This is 11144 and 11143
And 30031,30032,30033,30039 :
I have some problems with my server.
When i compile my script , pawno give me some errors. :
Quote:
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(11143) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(11144) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30030) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30031) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30032) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30033) : error 047: array sizes do not match, or destination array is too small
C:\Users\User\Desktop\Server Teste R8\Server Teste R8\gamemodes\gf.pwn(30039) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
And line is :
Quote:
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "San Andreas Armed Service"; } else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Firemen/Paramedic"; } |
And 30031,30032,30033,30039 :
Quote:
if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Los Santos Police Departament"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); } else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Federal Bureau of Investigation"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); } else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "San Andreas Armed Service"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); } else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Emergency Services of Nation"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); } else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "TheMafia"; ChosenSkin[para1] = 124; SetPlayerSkin(para1, 124); } else if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "The Triads"; ChosenSkin[para1] = 120; SetPlayerSkin(para1, 120); } else if(PlayerInfo[playerid][pLeader] == 7) { return 1; } else if(PlayerInfo[playerid][pLeader] == { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Hitman Agency"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); } else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "CNN Studio"; ChosenSkin[para1] = 148; SetPlayerSkin(para1, 14; } else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "The Transport Company"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); } |