08.05.2011, 02:14
No OnPlayerDeath
eu coloquei:
sу que da esses erros:
Compilando CR.pwn...
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(11940) : error 017: undefined symbol "SFPD"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(11942) : error 017: undefined symbol "FBI"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(11946) : error 017: undefined symbol "Socorrista"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : error 017: undefined symbol "Al"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : warning 215: expression has no effect
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : error 001: expected token: ";", but found "-identifier-"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : error 017: undefined symbol "eada"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : fatal error 107: too many error messages on one line
Compilation aborted.
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
Alguem sabe como arrumo?
eu coloquei:
pawn Код:
if(reason >= 0 && reason <= 46)
{
new kickname[MAX_PLAYER_NAME];
new playername[MAX_PLAYER_NAME];
new org=PlayerInfo[killerid][pMember];
new org2=PlayerInfo[playerid][pMember];
new nameorg;
new nameorg2;
if(org == 1){
nameorg = SFPD;
}else if(org == 2){
nameorg = FBI;
}else if(org == 3){
nameorg = GN;
}else if(org == 4){
nameorg = Socorrista;
}else if(org == 5){
nameorg = Al'Qeada;
}else if(org == 6){
nameorg = Rifas;
}else if(org == 7){
nameorg = Prefeitura;
}else if(org == 8){
nameorg = Hitman;
}else if(org == 9){
nameorg = Reporter;
}else if(org == 12){
nameorg = Latin;
}else if(org == 13){
nameorg = Nang;
}else if(org == 15){
nameorg = Triads;
}else{
nameorg = Civil;
}
if(org2 == 1){
nameorg2 = SFPD;
}else if(org2 == 2){
nameorg2 = FBI;
}else if(org2 == 3){
nameorg2 = GN;
}else if(org2 == 4){
nameorg2 = Socorrista;
}else if(org2 == 5){
nameorg2 = Al'Qeada;
}else if(org2 == 6){
nameorg2 = Ballas;
}else if(org2 == 7){
nameorg2 = Prefeitura;
}else if(org2 == 8){
nameorg2 = Hitman;
}else if(org2 == 9){
nameorg2 = Reporter;
}else if(org2 == 10){
nameorg2 = Groove;
}else if(org2 == 11){
nameorg2 = Yakusa;
}else if(org2 == 12){
nameorg2 = Triads;
}else{
nameorg2 = Civil;
}
GetPlayerName(playerid,playername,sizeof(playername));
GetPlayerName(killerid,kickname,sizeof(kickname));
format(string,sizeof(string),"[%d]%s da ORG %s cometeu DM em [%d]%s da ORG %s. Verifique.",killerid,kickname,org,playerid,playername,org2);
ABroadCast(COLOR_NANG, string, 1);
return 1;
}
Compilando CR.pwn...
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(11940) : error 017: undefined symbol "SFPD"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(11942) : error 017: undefined symbol "FBI"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(11946) : error 017: undefined symbol "Socorrista"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : error 017: undefined symbol "Al"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : warning 215: expression has no effect
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : error 001: expected token: ";", but found "-identifier-"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : error 017: undefined symbol "eada"
C:\Users\Deregudegu\Desktop\SAMP-SERVER\gamemodes\CR.pwn(1194 : fatal error 107: too many error messages on one line
Compilation aborted.
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
Alguem sabe como arrumo?