public OnPlayerDisconnect(playerid, reason)
{
new file[256], name[MAX_PLAYER_NAME], weapon[13][2], str[30], str2[30];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file); "\%s.txt", name);
if(!dini_Exists(file)) dini_Create(file);
for(i=0; i<13;i++){
GetPlayerWeaponData(playerid, i,weapon[i][0], weapon[i][1]);
format(str, sizeof(str), "Arma%d", i);
format(str2, sizeof(str2), "Balas%d", i);
dini_IntSet(file, str, weapon[i][0]);
dini_IntSet(file, str2, weapon[i][1]);
}
return 1;
}
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : error 001: expected token: ",", but found ";"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : warning 215: expression has no effect
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : warning 215: expression has no effect
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : fatal error 107: too many error messages on one line
ormat(file, sizeof(file) "\%s.txt", name);
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : error 001: expected token: ",", but found "-string-"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : warning 215: expression has no effect
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : warning 215: expression has no effect
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4851) : fatal error 107: too many error messages on one line
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4853) : error 017: undefined symbol "i"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4853) : warning 205: redundant code: constant expression is zero
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4853) : error 017: undefined symbol "i"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4853) : warning 215: expression has no effect
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4853) : error 001: expected token: ")", but found ";"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4853) : fatal error 107: too many error messages on one line
for(new i = 0; i < 13; i++)(espacio){
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4853) : error 017: undefined symbol "espacio"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4854) : error 017: undefined symbol "i"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4855) : error 017: undefined symbol "i"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4856) : error 017: undefined symbol "i"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4857) : error 017: undefined symbol "i"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4858) : error 017: undefined symbol "i"
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4864) : warning 225: unreachable code
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(4984) : warning 209: function "JB_OnPlayerDisconnect" should return a value
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(9032) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Andres\Mis documentos\GTA san andreas multiplayer\servermio\1Ciudad Metropolis-RP\gamemodes\CM-RP.pwn(55514) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Originally Posted by SeQualX
pawn Код:
|