Help with Function Not Implented
#6

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;
}
Reply


Messages In This Thread
Help with Function Not Implented - by basse - 31.08.2011, 13:53
Re: Help with Function Not Implented - by Jafet_Macario - 31.08.2011, 14:05
Re: Help with Function Not Implented - by -CaRRoT - 31.08.2011, 14:07
Re: Help with Function Not Implented - by basse - 31.08.2011, 14:29
Re: Help with Function Not Implented - by [MG]Dimi - 31.08.2011, 14:31
Re: Help with Function Not Implented - by basse - 31.08.2011, 14:33
Re: Help with Function Not Implented - by Darnell - 31.08.2011, 14:33
Re: Help with Function Not Implented - by basse - 31.08.2011, 14:39
Re: Help with Function Not Implented - by basse - 31.08.2011, 14:44
Re: Help with Function Not Implented - by [MG]Dimi - 31.08.2011, 16:11

Forum Jump:


Users browsing this thread: 3 Guest(s)