C:\Dokumente und Einstellungen\Nick\Desktop\Server GPR\gamemodes\GPR.pwn(5674) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Nick\Desktop\Server GPR\gamemodes\GPR.pwn(5687) : error 021: symbol already defined: "OnPlayerDeath"
C:\Dokumente und Einstellungen\Nick\Desktop\Server GPR\gamemodes\GPR.pwn(6795) : error 021: symbol already defined: "Streamer_OnPlayerPickUpPickup"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Hallo könnten sie mir bitte dabei helfen?
Zeile:
//------------------------------------------------------------------------------------------------------
public OnPlayerDeath(playerid, killerid, reason)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
if(GetPlayerWeapon(playerid) == 30){Ak47Drop= CreatePickup(355,4,x,y,z);}else if(GetPlayerWeapon(playerid) == 31){M4Drop= CreatePickup(356,4,x,y,z);}
return 1;
}
if(GetPlayerWeapon(playerid) == 30)
{
AkDrop= CreatePickup(355,4,x,y,z)
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Ak47Drop){GivePlayerWeapon(playerid,30,30);}else if(pickupid == M4Drop){GivePlayerWeapon(playerid,31,30);} return 1;
}