public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID)
SetPlayerMoney(killerid, GetPlayerMoney(killerid) + 1000), SetPlayerScore(killerid, GetPlayerScore(killerid) + 100);
}
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID)
SetPlayerMoney(killerid, GetPlayerMoney(killerid) + random(5000)), SetPlayerScore(killerid, GetPlayerScore(killerid) + random(1000));
}
C:\Users\Home\Downloads\Compressed\MODE SAMP\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2366) : error 021: symbol already defined: "OnPlayerDeath" C:\Users\Home\Downloads\Compressed\MODE SAMP\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2369) : warning 209: function "OnPlayerDeath" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
return 1;
C:\Users\Home\Downloads\Compressed\MODE SAMP\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2365) : error 021: symbol already defined: "OnPlayerDeath" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
C:\Users\Home\Downloads\Compressed\MODE SAMP\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2366) : error 021: symbol already defined: "OnPlayerDeath" C:\Users\Home\Downloads\Compressed\MODE SAMP\SenjoritaGaming\gamemodes\SanjoritaGaming.pwn(2369) : warning 209: function "OnPlayerDeath" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
public OnPlayerDeath
{
if(killerid != INVALID_PLAYER_ID)
SetPlayerMoney(killerid, GetPlayerMoney(killerid) + random(5000)), SetPlayerScore(killerid, GetPlayerScore(killerid) + random(1000));
}
return 1;
public OnPlayerDeath