Hey,
könnte mir da jemand weiter helfen !`?
wenn ich Complimieren will kommen diese Fehler
ZitatAlles anzeigenC:\Users\Dima\Desktop\MSL_Mafiosis Second Life\gamemodes\sg.pwn(1854) : error 004: function "GiveMoney" is not implemented
C:\Users\Dima\Desktop\MSL_Mafiosis Second Life\gamemodes\sg.pwn(1854) : error 001: expected token: "*then", but found ";"
C:\Users\Dima\Desktop\MSL_Mafiosis Second Life\gamemodes\sg.pwn(1854) : error 036: empty statement
C:\Users\Dima\Desktop\MSL_Mafiosis Second Life\gamemodes\sg.pwn(1854) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
public ExtortionBiz(bizid, money)
{
new string[256];
format(string, sizeof(string), "none");
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;
if GiveMoney(i, value);
BizzInfo[bizid][bTill] -= value;
}
}
}
return 1;
}