Code
C:\Users\Kubilay\Desktop\Server\gamemodes\test.pwn(178) : warning 235: public function lacks forward declaration (symbol "IsAtGangZone")C:\Users\Kubilay\Desktop\Server\gamemodes\test.pwn(252) : error 004: function "IsAtGangzone" is not implementedC:\Users\Kubilay\Desktop\Server\gamemodes\test.pwn(262) : warning 202: number of arguments does not match definitionC:\Users\Kubilay\Desktop\Server\gamemodes\test.pwn(262) : warning 202: number of arguments does not match definitionC:\Users\Kubilay\Desktop\Server\gamemodes\test.pwn(473) : warning 202: number of arguments does not match definitionPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Zeilen:
1 Warning:
public IsAtGangZone(playerid){ if(IsPlayerInArea(playerid,162.3857,-1901.2109,360.2214,-1776.2793) || IsPlayerInArea(playerid,1684.6569,-1872.1091,1833.0494,-1947.4077) || IsPlayerInArea(playerid,2230.5908,-1822.3995,2377.4697,-1759.6671)) { return 1; } return 0;}
1 Error:
if(IsAtGangzone(playerid)) { GivePlayerMoney(playerid,5000); GameTextForPlayer(killerid, "~g~Gangzonekill", 3000, 3); GameTextForPlayer(playerid, "~r~Gangzonekill", 3000, 3); }
2 Warning:
new string[32]; GameTextForPlayer(playerid, "~r~NO-DM-ZONE", 3000, 3); format(string,sizeof(string),"AdmCmd: %d wurde gekickt Grund: DM in NO DM.", GetPlayerName(killerid)); SendClientMessageToAll(COLOR_RED, string); Kick(killerid)