pomoc - unknow

Započeo Ante_Dracar aka Lopa, Jul 04, 2010, 16:59:59 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

ovako ljudi treba mi pomoc,kad sam pozvao prijatelja da mi udje na server i da ode rentat bike,on sidne na motor i upise /rent i izbaci mu server unknow comand a meni 10 min prije nego sta je on isa sve lipo radilo,pa ako moze pomoc...

hvala unapred...

Druze nemoze se nista bez koda...stavi onaj dio gdje se nalazi ta komanda /rent
Uskoro otvaranje servera.Svi ljudi sa Balkan Samp foruma su pozvani

_________________________________________________________
Molim vas da mi potvrdite link ispod jer on mi je od jedne online igre koju igram i trebaju mi da kazem goldi a vi mi mozete pomoci.Nemorate se bojati nije nikakav virus ili takvo nesto.Hvala unapred
*****http://s3.ba.gladiatus.org/game/c.php?uid=91319


evo ona poruka kada se udje u auto
//----------------------------------------Rentcar---------------------------------------
if(newcar==110||newcar==111||newcar==112||newcar==113||newcar==114||newcar==115)
{
    if(PlayerKarting[playerid] != 1)
    {
        RemovePlayerFromVehicle(playerid);
    }
}
if(newcar >= 238 && newcar <= 285)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~Mozete iznajmiti ovaj auto/motor/avion/helikopter~n~Cijena:~g~$%d~n~~w~Za najam upisite ~g~/rent~w~~n~da izadete van upisite ~r~/exit",SBizzInfo[1][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}




eco komanda...
//---------------------------------------------------------RENTCAR--------------------------------------------------
if(strcmp(cmd, "/rent", true) == 0)
{
        if(IsPlayerConnected(playerid))
{
if(GetPlayerVehicleID(playerid) >= 238 && GetPlayerVehicleID(playerid) <= 285)
{
new hirefee = HireCost(GetPlayerVehicleID(playerid));
if(GetPlayerVehicleID(playerid) >= 72 && GetPlayerVehicleID(playerid) <= 74)
{
if(SBizzInfo[0][sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Prodano", 5000, 1);
return 1;
}
if(PlayerInfo[playerid][pPbiskey] == 0)
{
GameTextForPlayer(playerid, "~w~Nema zaduzenih sefova", 5000, 3);
TogglePlayerControllable(playerid, 1);
return 1;
}
if (GetPlayerMoney(playerid) <  SBizzInfo[0][sbEntranceCost])
{
SendClientMessage(playerid, COLOR_GRAD2, "   Nemate toliko novaca!");
return 1;
}
GivePlayerMoney(playerid,-SBizzInfo[0][sbEntranceCost]);
SBizzInfo[0][sbTill] += SBizzInfo[0][sbEntranceCost];
ExtortionSBiz(0, SBizzInfo[0][sbEntranceCost]);
SBizzInfo[0][sbProducts]--;
}
if(GetPlayerVehicleID(playerid) >= 75 && GetPlayerVehicleID(playerid) <= 77)
{
if(SBizzInfo[1][sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Prodano", 5000, 1);
return 1;
}
if(PlayerInfo[playerid][pPbiskey] == 1)
{
GameTextForPlayer(playerid, "~w~Nema zaduzenih sefova", 5000, 3);
TogglePlayerControllable(playerid, 1);
return 1;
}
if (GetPlayerMoney(playerid) <  SBizzInfo[1][sbEntranceCost])
{
SendClientMessage(playerid, COLOR_GRAD2, "   Nemate toliko novaca !");
return 1;
}
GivePlayerMoney(playerid,-SBizzInfo[1][sbEntranceCost]);
SBizzInfo[1][sbTill] += SBizzInfo[1][sbEntranceCost];
ExtortionSBiz(1, SBizzInfo[1][sbEntranceCost]);
SBizzInfo[1][sbProducts]--;
}
if(HireCar[playerid] != 299)
{
gCarLock[HireCar[playerid]] = 0;
UnLockCar(HireCar[playerid]);
}
HireCar[playerid] = GetPlayerVehicleID(playerid);
OnPropUpdate();
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
format(string, sizeof(string), "~w~Nadamo se da cete uzivati ~n~koristite ove aute/motore/avione/helikoptere~n~Za zakljucavanje i otkljucavanje vozila/letjelice koristite~n~type ~g~/lock~n~~w~molimo vozite/letite sigurno",hirefee);
TogglePlayerControllable(playerid, 1);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
return 1;
}



evo ljudi znaci u ovoj su komadi auti,motori,avioni,helikopteri