[POMOC] pada mi server...


Započeo Fantom.pWn, Maj 15, 2012, 20:34:28 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta : Moja
Opis Problema : Koju god komandu ukucam pada server,ranije mi se to nije desavalo,dok mi nisu promenili 0.3d R2 u 0.3e ,moze pomoc oko toga?
Evo /pay naprimer i to kad ukucam pada ,a pre nego sto sam ubacio radilo je normalno sve...
  if(strcmp(cmd, "/pay", true) == 0 || strcmp(cmd, "/plati", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD1, "Koristi: /plati [ID Igraca] [kolicina]");
				return 1;
			}
	        giveplayerid = ReturnUser(tmp);
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD1, "Koristi: /plati [ID Igraca] [kolicina]");
				return 1;
			}
			if(moneys < 0) return SendClientMessage(playerid, COLOR_GRAD1, "Ne moze manje od 1 !");
			moneys = strval(tmp);
			if(moneys > 1000 && PlayerInfo[playerid][pLevel] < 3)
			{
				SendClientMessage(playerid, COLOR_GRAD1, "Morate biti lvl 3 da biste slali preko 1000");
				return 1;
			}
			if(moneys < 1 || moneys > 99999)
			{
			    SendClientMessage(playerid, COLOR_GRAD1, "Nemojte ici ispod 1, ili preko 99999 odjednom.");
			    return 1;
			}
			if (IsPlayerConnected(giveplayerid))
			{
			    if(giveplayerid != INVALID_PLAYER_ID)
			    {
			        if(PlayerInfo[giveplayerid][pLocal] == 106)
					{
						SendClientMessage(playerid, COLOR_GRAD1, "Komanda nije dozvoljena na ovoj lokaciji");
						return 1;
					}
					if (ProxDetectorS(5.0, playerid, giveplayerid))
					{
					    if(giveplayerid == playerid)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Nemozete platiti za sebe !");
					        return 1;
					    }
						GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
						GetPlayerName(playerid, sendername, sizeof(sendername));
						playermoney = GetPlayerMoney(playerid);
						if (moneys > 0 && playermoney >= moneys)
						{
							SafeGivePlayerMoney(playerid, (0 - moneys));
							SafeGivePlayerMoney(giveplayerid, moneys);
							format(string, sizeof(string), "   Poslali ste %s-u(player: %d), $%d.", giveplayer,giveplayerid, moneys);
							PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
							SendClientMessage(playerid, COLOR_GRAD1, string);
							format(string, sizeof(string), "   Primili ste $%d od %s(player: %d).", moneys, sendername, playerid);
							SendClientMessage(giveplayerid, COLOR_GRAD1, string);
							format(string, sizeof(string), "%s je platio $%d  %s-u", sendername, moneys, giveplayer);
							PayLog(string);
							if(moneys >= 1000000)
							{
								ABroadCast(COLOR_YELLOW,string,1);
							}
							PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0);
							ApplyAnimation(playerid,"DEALER","shop_pay",4.1,0,0,0,0,0);
						}
						else
						{
							SendClientMessage(playerid, COLOR_GRAD1, "   Nepravilan iznos transakcije.");
						}
					}
					else
					{
						SendClientMessage(playerid, COLOR_GRAD1, "   Predaleko ste.");
					}
				}//invalid id
			}
			else
			{
				format(string, sizeof(string), "   %d nije aktivan igrac.", giveplayerid);
				SendClientMessage(playerid, COLOR_GRAD1, string);
			}
		}
		return 1;
	}

Ne vjerujem da je to do 0.3e. I ja sam prebacio server na 0.3e i radi mi sve noramalno. Pogledaj da li imas sve mape u scriptfilesu

Kontakt support tim. Vjerovatno možda do pluginsa itd.