26 errors , larp , is not iimplemented
#1

Код:
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.
Some help ? I just translated , not touched other things , i have all includes ...
Reply
#2

I dunno what SaveGetPlayerMoney is! If u read the login and register system's, u will see that they write it in the ini datas and do it with GetPlayerMoney...

I dunno, can u gimme the lines?
Reply
#3

You have missed a bracket somewhere.
This is may help you:
https://sampforum.blast.hk/showthread.php?tid=171429
Reply
#4

Just before callback: SafeGivePlayerMoney you forgot one "}". Add it and it will work
Reply
#5

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
Just before callback: SafeGivePlayerMoney you forgot one "}". Add it and it will work
There are more than one SafeGivePlayerMoney
Reply
#6

Post your code from line 2140-2200
Reply
#7

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
Post your code from line 2140-2200
Код:
					}
					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 )
			{
Here it is
Reply
#8

Post the callback you have those SafeGivePlayerMoney functions in. I can't seem to find it in the above post.
Reply
#9

Quote:
Originally Posted by Mean
Посмотреть сообщение
Post the callback you have those SafeGivePlayerMoney functions in. I can't seem to find it in the above post.
I pmed you my gm
Reply
#10

Cmoon some 1 help ? i will pm my gm ..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)