C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(2174) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(2203) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(2239) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(2240) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(2267) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(3167) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(3709) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(3907) : error 004: function "RemoveRoadblock" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(3997) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(3998) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4169) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4469) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4537) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4568) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4569) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4615) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4616) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4646) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4647) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4653) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4654) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4677) : error 004: function "BusrouteEnd" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4678) : error 004: function "BusrouteEnd" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4679) : error 004: function "BusrouteEnd" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4913) : error 004: function "SafeGivePlayerMoney" is not implemented C:\Documents and Settings\Andero\Desktop\Larp\gamemodes\larp.pwn(4921) : error 004: function "SafeGivePlayerMoney" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Just before callback: SafeGivePlayerMoney you forgot one "}". Add it and it will work
|
} return 0; } } } } if(searchhit == 0) { SendClientMessage(playerid, COLOR_GREY, " No Contracts available !"); } return 0; } public ExtortionBiz(bizid, money) { new string[256]; format(string, sizeof(string), "No-one"); if(strcmp(BizzInfo[bizid][bExtortion],string, true ) == 0 ) { return 0; } for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new name[MAX_PLAYER_NAME]; new wstring[MAX_PLAYER_NAME]; GetPlayerName(i, name, sizeof(name)); format(string, sizeof(string), "%s", name); strmid(wstring, string, 0, strlen(string), 255); if(strcmp(BizzInfo[bizid][bExtortion] ,wstring, true ) == 0 ) { new value = money / 100; value = value * 10; SafeGivePlayerMoney(i, value); BizzInfo[bizid][bTill] -= value; } } } return 1; } public ExtortionSBiz(bizid, money) { new string[256]; format(string, sizeof(string), "No-one"); if(strcmp(SBizzInfo[bizid][sbExtortion],string, true ) == 0 ) { return 0; } for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new name[MAX_PLAYER_NAME]; new wstring[MAX_PLAYER_NAME]; GetPlayerName(i, name, sizeof(name)); format(string, sizeof(string), "%s", name); strmid(wstring, string, 0, strlen(string), 255); if(strcmp(SBizzInfo[bizid][sbExtortion] ,wstring, true ) == 0 ) {
Post the callback you have those SafeGivePlayerMoney functions in. I can't seem to find it in the above post.
|