Probleme cu gamemode-ul "The Godfather", si altele
#81

Salutare,

Am o problema cu masinile personale. Am bagat 3 masini in cars.cfg [ eu am 269 masini in GM + 1 ]. Am setat peste tot in GM numarul masinilor din gm + 1, numaru' de masini pers, si totalu', si cand intru in joc, gasesc doar 2 masini in parcare, care nu sunt de vanzare, pur si simplu, le iau si pot sa ma plimb cu ele. Any help ?
Reply
#82

Quote:
Originally Posted by alexandrusava93
Посмотреть сообщение
FIND NEXT merge pe f3 stiu asta ) . cu next le cautam pe toate sa vad ce si cum .
Pai si rep? :P Numi apare nimic. http://forum.sa-mp.com/reputation.php?p=2109767
Reply
#83

am gasit /donate , am inlocuit tot ce scria acolo , am dat compile (11erori) save , am intrat pe server dar nu s-a salvat nimic din ce am modificat eu acolo . Este de la erori ?



Код:
C:\Documents and Settings\Vero\Desktop\Betivii\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Documents and Settings\Vero\Desktop\Betivii\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "panels" shadows a variable at a preceding level
C:\Documents and Settings\Vero\Desktop\Betivii\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Documents and Settings\Vero\Desktop\Betivii\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Documents and Settings\Vero\Desktop\Betivii\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "tires" shadows a variable at a preceding level
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(3213) : error 001: expected token: "}", but found "-string-"
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(3214) : error 010: invalid function or declaration
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(12667) : warning 209: function "AddFlitsPaal" should return a value
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(15755) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(20307) : error 021: symbol already defined: "OnPlayerUpdate"
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(20312) : warning 213: tag mismatch
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(30359) : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(30359) : error 017: undefined symbol "CCF83C"
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(30359) : error 017: undefined symbol "Multumiri"
C:\Documents and Settings\Vero\Desktop\Betivii\gamemodes\greenzone.pwn(30359) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
imi puteti da o varianta mai noua pentru SpikeStrip.inc , poate asa mai scap de erori .
Reply
#84

Posteaza liniile cu erori.
Reply
#85

Am urmatorul bug pe server,serverul este unul de tip Roleplay:
1.Cand ma spawneaza pe mine sau pe playerii ma da in spital viata creste dar pe mine tot nu ma spawneaza afara din spital,raman acolo

Cum as putea face ca serverul sa accepte si nickuri alcatuite dintr-un singur cuvant gen Marian,Marius etc
Si unde as putea sa setez ce ofera serverul la inceput banii/level/vip etc

O zi buna!
Reply
#86

Salutare am o problema la payday la ora fixa nu functioneaza ma poate ajuta cineva ??va voi lasa mai jos tot ce tine de payday .

Код:
public SyncTime()
{
	new tmphour;
	new tmpminute;
	new tmpsecond;
	gettime(tmphour, tmpminute, tmpsecond);
	FixHour(tmphour);
	tmphour = shifthour;
	if ((tmphour > ghour) || (tmphour == 0 && ghour == 23))
	{
		ghour = tmphour;
		foreach (Player, i)
		{
		    if(GetPVarInt(i, "PlayerLogged") == 1)
		    {
		        PayDay(i);
		    }
		}
		if (realtime)
		{
			SetWorldTime(tmphour);
		}
		PayDayLoad(1);
	}
	for(new b = 0; b < sizeof(WeedInfo); b++)
	{
		if(WeedInfo[b][WeedPlanted] == 1 && WeedInfo[b][WeedTime] > 0)
		{
		    WeedInfo[b][WeedTime] -= 1;
		    if(WeedInfo[b][WeedTime] >= 17 && WeedInfo[b][WeedTime] <= 20)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-2.2,100.0);
		    }
            if(WeedInfo[b][WeedTime] >= 15 && WeedInfo[b][WeedTime] <= 17)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-2.1,100.0);
		    }
		    if(WeedInfo[b][WeedTime] >= 13 && WeedInfo[b][WeedTime] <= 15)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-2.0,100.0);
		    }
		    if(WeedInfo[b][WeedTime] >= 11 && WeedInfo[b][WeedTime] <= 13)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-1.9,100.0);
		    }
		    if(WeedInfo[b][WeedTime] >= 9 && WeedInfo[b][WeedTime] <= 11)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-1.8,100.0);
		    }
		    if(WeedInfo[b][WeedTime] >= 8 && WeedInfo[b][WeedTime] <= 9)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-1.7,100.0);
		    }
		    if(WeedInfo[b][WeedTime] >= 7 && WeedInfo[b][WeedTime] <= 8)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-1.6,100.0);
		    }
		    if(WeedInfo[b][WeedTime] >= 6 && WeedInfo[b][WeedTime] <= 7)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-1.5,100.0);
		    }
		    if(WeedInfo[b][WeedTime] >= 5 && WeedInfo[b][WeedTime] <= 6)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-1.4,100.0);
		    }
		    if(WeedInfo[b][WeedTime] >= 1 && WeedInfo[b][WeedTime] <= 5)
		    {
                MoveDynamicObject(weedObject[b],WeedInfo[b][WeedX],WeedInfo[b][WeedY],WeedInfo[b][WeedZ]-1.3,100.0);
		    }
		}
	}
}
payday

Код:
public PayDay(playerid)
{
	new string[128];
	new account,interest;
	new rent = 0;
	if(PlayerInfo[playerid][pCellplan] == 2 && PlayerInfo[playerid][pCellphone] == 1)
	{
	    PlayerInfo[playerid][pCelltime] -= 10;
	}
	if(PlayerInfo[playerid][pBreakAllow] > 0)
	{
	    PlayerInfo[playerid][pBreakAllow]--;
	}
	if(GetPVarInt(playerid, "PlayerLogged") == 1)
	{
		if(PlayerInfo[playerid][pJailTime] == 0)
		{
		    if(PlayerInfo[playerid][pJailed] == 0)
		    {
				account = PlayerInfo[playerid][pAccount];
				new key = PlayerInfo[playerid][pHousekey];
				HouseInfo[key][hTakings] = HouseInfo[key][hTakings]+rent;
				new tmpintrate;
   	            switch(PlayerInfo[playerid][pDonateRank])
	            {
		        	case 0:
		        	{
                		tmpintrate = 1;
		        	}
		       	 	case 1:
		        	{
                		tmpintrate = 1;
		        	}
		        	case 2:
		        	{
                		tmpintrate = 2;
		        	}
	        		case 3:
		        	{
                		tmpintrate = 3;
		        	}
	            }
				if(PlayerInfo[playerid][pPayDay] >= 0)
				{
				    Tax += TaxValue;
				    PlayerInfo[playerid][pAccount] -= TaxValue;
					new checks;
     				checks = 700;
					if(PlayerInfo[playerid][pDonateRank] > 0)
					{
					    new bonus = PlayerInfo[playerid][pPayCheck] / 10;
					    checks += bonus;
					}
				    new ebill = 125;
				    account += checks;
				    if(PlayerInfo[playerid][pAccount] > 0)
				    {
				    	PlayerInfo[playerid][pAccount] -= ebill;
				    	SBizzInfo[4][sbTill] += ebill;
					}
					else
					{
					    ebill = 0;
					}
					interest = (PlayerInfo[playerid][pAccount]/1000)*(tmpintrate);
					PlayerInfo[playerid][pExp]++;
					PlayerInfo[playerid][pAccount] = account+interest;
					SendClientMessage(playerid,COLOR_YELLOW5,"____________________________________________________");
		            SendClientMessage(playerid,COLOR_LIGHTYELLOW5,"                        Paycheck Statement:                           ");
		            format(string, 128, "[INFO]: Paycheck: $%d | Tax Money: -$%d", checks, TaxValue);
					SendClientMessage(playerid, COLOR_LIGHTYELLOW5, string);
					format(string, 128, "[INFO]: Int Rate: 0.%d percent | Int Gained $%d",tmpintrate,interest);
					SendClientMessage(playerid, COLOR_LIGHTYELLOW5, string);
					if(PlayerInfo[playerid][pHousekey] != 255 || PlayerInfo[playerid][pPbiskey] != 255)
					{
					    format(string, 128, "[INFO]: Electricity Bill: -$%d | Rent: -$%d", ebill,rent);
						SendClientMessage(playerid, COLOR_LIGHTYELLOW5, string);
					}
					else if(PlayerInfo[playerid][pHousekey] == 255 || PlayerInfo[playerid][pPbiskey] == 255)
					{
					    format(string, 128, "[INFO]: Rent: -$%d", rent);
					    SendClientMessage(playerid, COLOR_LIGHTYELLOW5, string);
					}
					if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pMember] == 14)
					{
					    switch (PlayerInfo[playerid][pRank])
					    {
                            case 0:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $300");
					            PlayerInfo[playerid][pAccount] += 300;
		                    }
		                    case 1:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $300");
					            PlayerInfo[playerid][pAccount] += 300;
		                    }
		                    case 2:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $300");
					            PlayerInfo[playerid][pAccount] += 300;
		                    }
		                    case 3:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $300");
					            PlayerInfo[playerid][pAccount] += 300;
		                    }
		                    case 4:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $400");
					            PlayerInfo[playerid][pAccount] += 400;
		                    }
		                    case 5:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                    case 6:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                }
					}
					else if(PlayerInfo[playerid][pMember] == 6)
					{
					    switch (PlayerInfo[playerid][pRank])
					    {
                            case 0:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $200");
					            PlayerInfo[playerid][pAccount] += 200;
		                    }
		                    case 1:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $200");
					            PlayerInfo[playerid][pAccount] += 200;
		                    }
		                    case 2:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $200");
					            PlayerInfo[playerid][pAccount] += 200;
		                    }
		                    case 3:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $350");
					            PlayerInfo[playerid][pAccount] += 350;
		                    }
		                    case 4:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $375");
					            PlayerInfo[playerid][pAccount] += 375;
		                    }
		                    case 5:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $400");
					            PlayerInfo[playerid][pAccount] += 400;
		                    }
		                    case 6:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $425");
					            PlayerInfo[playerid][pAccount] += 425;
		                    }
		                    case 7:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $450");
					            PlayerInfo[playerid][pAccount] += 450;
		                    }
		                    case 8:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $475");
					            PlayerInfo[playerid][pAccount] += 475;
		                    }
		                    case 9:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                    case 10:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                    case 11:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                    case 12:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                    case 13:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                    case 14:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                    case 15:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
		                    case 16:
		                    {
		                        SendClientMessage(playerid, COLOR_LIGHTYELLOW5, "[INFO]: Bonus Check: $500");
					            PlayerInfo[playerid][pAccount] += 500;
		                    }
						}
					}
					if(PlayerInfo[playerid][pCarkey] != SCRIPT_CARS)
					{
					    new carkey = PlayerInfo[playerid][pCarkey];
						if(CarInfo[carkey][cInsur] == 1)
						{
							new amount = VehiclePrice(carkey);
					    	format(string, 128, "[INFO]: Insurance Vehicle 1: -$%d", amount);
							SendClientMessage(playerid, COLOR_LIGHTYELLOW5, string);
							PlayerInfo[playerid][pAccount] -= amount;
						}
					}
					if(PlayerInfo[playerid][pCarkey2] != SCRIPT_CARS)
					{
					    new carkey2 = PlayerInfo[playerid][pCarkey2];
						if(CarInfo[carkey2][cInsur] == 1)
						{
							new amount = VehiclePrice(carkey2);
					    	format(string, 128, "[INFO]: Insurance Vehicle 2: -$%d", amount);
							SendClientMessage(playerid, COLOR_LIGHTYELLOW5, string);
							PlayerInfo[playerid][pAccount] -= amount;
						}
					}
					if(PlayerInfo[playerid][pCarkey3] != SCRIPT_CARS)
					{
					    new carkey3 = PlayerInfo[playerid][pCarkey3];
						if(CarInfo[carkey3][cInsur] == 1)
						{
							new amount = VehiclePrice(carkey3);
					    	format(string, 128, "[INFO]: Insurance Vehicle 3: -$%d", amount);
							SendClientMessage(playerid, COLOR_LIGHTYELLOW5, string);
							PlayerInfo[playerid][pAccount] -= amount;
						}
					}
					format(string, 128, "[INFO]: Old Balance: $%d | New Balance: $%d", account - checks, PlayerInfo[playerid][pAccount]);
					SendClientMessage(playerid, COLOR_LIGHTYELLOW5, string);
	                SendClientMessage(playerid,COLOR_YELLOW5,"____________________________________________________");
					format(string, 128, "~g~PayDay~n~~w~Check paid into your account");
					GameTextForPlayer(playerid, string, 5000, 1);
					rent = 0;
					PlayerPlayMusic(playerid);
					PlayerInfo[playerid][pPayDay] = 0;
					PlayerInfo[playerid][pPayCheck] = 0;
					PlayerInfo[playerid][pConnectTime] += 1;
					if((4+(PlayerInfo[playerid][pLevel]*8)) == PlayerInfo[playerid][pConnectTime])
					{
					    PlayerInfo[playerid][pConnectTime] += 1;
					}
					new LevScore;
                    LevScore = PlayerInfo[playerid][pConnectTime];
                    SetPlayerScore(playerid,LevScore);
					if(ConnectUpgrade(PlayerInfo[playerid][pConnectTime]))
					{
					    PlayerInfo[playerid][gPupgrade] = PlayerInfo[playerid][gPupgrade]+2;
					}
				}
				else
				{
				    SendClientMessage(playerid, COLOR_WHITE, "* You haven't played long enough to obtain a PayDay.");
				}
			}
		}
	}
	for(new h = 0; h < sizeof(HouseInfo); h++)
	{
	    if(HouseInfo[h][hBreakTime] > 0)
	    {
	        HouseInfo[h][hBreakTime]--;
	    }
	}
	TelePos[playerid][0] = 0.0;
	TelePos[playerid][1] = 0.0;
	return 1;
}
Код:
forward PayDayLoad(type);
public PayDayLoad(type)
{
	if(type == 1)
	{
        SaveCars();
	    SaveTrunk();
	    SaveSafe();
	    SaveFamilies();
        OnPropUpdate();
        SaveIRC();

		new RandomWeth;
	    RandomWeth = random(7);
        switch(RandomWeth)
        {
            case 0:
			{
			    DefaultWeather = 0;
            }
            case 1:
            {
			    DefaultWeather = 2;
            }
            case 2:
            {
			    DefaultWeather = 3;
            }
            case 3:
            {
			    DefaultWeather = 4;
            }
            case 4:
            {
			    DefaultWeather = 5;
            }
            case 5:
            {
			    DefaultWeather = 9;
            }
            case 6:
            {
			    DefaultWeather = 11;
            }
	    }
		SetWeather(DefaultWeather);
		for(new h = 0; h < sizeof(CarInfo); h++)
		{
			if(CarInfo[h][cOwned] == 1)
			{
			    new player = ReturnUser(CarInfo[h][cOwner]);
			    if(IsPlayerConnected(player))
			    {
                    if(CarInfo[h][cTime] > 0)
			        {
			            CarInfo[h][cTime]--;
			        }
			    }
			    else if(!IsPlayerConnected(player))
			    {
			        CarInfo[h][cTime]++;
                    if(CarInfo[h][cTime] == 730)
			        {
			            CarInfo[h][cTime]=0;
			            CarInfo[h][cOwned] = 0;
			        }
			    }
			}
		}
	}
    return 1;
}
La ora fixa chiar si dupa 5 ore on nu imi apare nici o informatie nici ca nu am jucat destul s-au alte prosti..
Reply
#87

am o sugestie: inlocuieste-l, sigur gasesti pe undeva pe aici
Reply
#88

Quote:
Originally Posted by DiffeReNt
Посмотреть сообщение
am o sugestie: inlocuieste-l, sigur dasesti pe undeva pe aici
Cea mai buna solutie ..... ))

Cum adica nu functioneaza, nu iti da bani, RP nu arata nimic ? fii mai explicit
Reply
#89

Quote:
Originally Posted by jamal1992
Посмотреть сообщение
Cea mai buna solutie ..... ))

Cum adica nu functioneaza, nu iti da bani, RP nu arata nimic ? fii mai explicit
Nu pot sa cred! Tocmai ai fost de acord cu AlinIonutz(AlinIonutz = DiffeReNt)
P.S. Si eu am ip dinamic > XD
Reply
#90

Nici eu nu pot sa cred )
Reply
#91

Sunteti prosti aman2 )) nu eram de acord, chestia aia era spusa pe un ton ironic
Reply
#92

Quote:
Originally Posted by jamal1992
Посмотреть сообщение
Sunteti prosti aman2 )) nu eram de acord, chestia aia era spusa pe un ton ironic
O mica intrebare, tu cand s**i p**a dai chitanta?
Reply
#93

Am si eu un GM Godfather,cand dau compile imi da urmatoarele ERORI:
pawn Код:
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(72) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(73) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(74) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(75) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(76) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(77) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(78) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(138) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(139) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(140) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(141) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(142) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(143) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(144) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(365) : error 010: invalid function or declaration
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3120) : warning 216: nested comment
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3372) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3376) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3388) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3392) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3396) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3400) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3404) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3408) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3412) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3424) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3428) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3432) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3436) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3440) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3452) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3456) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3460) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3472) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3476) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3480) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3484) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(4262) : warning 215: expression has no effect
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(4268) : error 017: undefined symbol "PlayerName"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5089) : error 017: undefined symbol "PlayerName"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5275) : error 017: undefined symbol "IsLeader"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5277) : error 017: undefined symbol "IsLeader"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Eu vreau sa rezolv erorile!Nu am nevoie sa rezolv warning-urile!
Reply
#94

Quote:
Originally Posted by Viken
Посмотреть сообщение
Am si eu un GM Godfather,cand dau compile imi da urmatoarele ERORI:
pawn Код:
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(72) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(73) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(74) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(75) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(76) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(77) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(78) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(138) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(139) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(140) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(141) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(142) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(143) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(144) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(365) : error 010: invalid function or declaration
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3120) : warning 216: nested comment
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3372) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3376) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3388) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3392) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3396) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3400) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3404) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3408) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3412) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3424) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3428) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3432) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3436) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3440) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3452) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3456) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3460) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3472) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3476) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3480) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3484) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(4262) : warning 215: expression has no effect
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(4268) : error 017: undefined symbol "PlayerName"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5089) : error 017: undefined symbol "PlayerName"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5275) : error 017: undefined symbol "IsLeader"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5277) : error 017: undefined symbol "IsLeader"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Eu vreau sa rezolv erorile!Nu am nevoie sa rezolv warning-urile!
Ai sters cumva vreo paranteza { sau } din GM?
Reply
#95

Asta stiam,dar noroc ca mai aveam o copie a gm-ului!Oricum ai +1 ca ai incercat sa ma ajuti'!
Reply
#96

Salutare am cateva intrebari:


1.Atunci cand un player tasteaza comanda /factions as vrea sa arate toate factiunile dupa server.
2.As dorii sistemul de WAR Acela cu 500 drugs 50k si 500 mats cand aliantele castiga warul si comanda /fa sa o implementez.

Imi puteti da niste tutoriale complexe va rog?
Reply
#97

1.
pawn Код:
if(strcmp(cmd, "/factions", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            SendClientMessage(playerid,COLOR_WHITE," Factiunile serverului sunt urmatoarele: ");
            SendClientMessage(playerid,COLOR_WHITE,"-------------------------------------------");
            SendClientMessage(playerid,COLOR_DBLUE,"1. LSPD");
                        // Aici dublezi(copu+paste) linia de mai sus cu cate factiuni vrei sa pui
            SendClientMessage(playerid,COLOR_WHITE,"---------------- X factiuni ----------------");
        }
        return 1;
    }
SendClientMessage(playerid,COLOR_DBLUE,"1. LSPD"); :
SendClientMessage(playerid,COLOR_DBLUE(culoare),"1 . LSPD(ce e aici in "" poti pune orice nume de factiune doresti)");

Daca mai ai nelamurir, reply, si te ajut, iar la 2 nu stiu de nici un sistem de war asa.
Reply
#98

Mersi,imi poti da un system de war daca pe acesta nu il stii?

Si as vrea si comanda /fa..

P.S: Ai + reputation
Reply
#99

sistemu de war nu ti-l poate da .... ca e complex
Reply

Adica..?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)