vbicompany
-
Posts
112 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by vbicompany
-
-
Buna ziua SA-MP.RO .Nu stiti unde as putea gasii un libmysqlclient.so.16 , poate aveti voi vre-un link , ca eu nu am gasit nimica :|
-
Scuzati-ma pentru double post , poate o sa fiu sanctionat , dar asta este ..
Aceasta functie [14:32:11] Failed (/lib/libmysqlclient_r.so.15: file too short)
[14:32:11] Loading plugin: sscanf.so , este o problema de la host ? ..
Am aflat de ceva librarie mysql ca nu s-a procesat , si doresc sa stiu daca este adevarat .
Iertatima pentru 2xpost .
-
Cam , ce ar putea sa fie ? ... am cautat prin gm ceva ce tine de acele filescript-uri dar nam gasit nimic ..
Edit : Dar pentru eroarea [14:32:11] Loading plugin: mysql.so
[14:32:11] Failed (/lib/libmysqlclient_r.so.15: file too short) , nu ai vre-o idee ce ar putea fi ?
Sa nu am de la host librariile mysql instalate ? (am auzit asta mai dedemult)
Edit 2 : Am bagat nativechecker.so , si asta ii server_log cu nativechecker.so
[pawn]
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team
[14:58:37]
[14:58:38] Server Plugins
[14:58:38] --------------
[14:58:38] Loading plugin: mysql.so
[14:58:38] Failed (/lib/libmysqlclient_r.so.15: file too short)
[14:58:38] Loading plugin: sscanf.so
[14:58:38]
[14:58:38] ===============================
[14:58:38] sscanf plugin loaded.
[14:58:38] © 2009 Alex "Y_Less" Cole
[14:58:38] 0.3d-R2 500 Players "dnee"
[14:58:38] ===============================
[14:58:38] Loaded.
[14:58:38] Loading plugin: streamer.so
[14:58:38]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[14:58:38] Loaded.
[14:58:38] Loading plugin: nativechecker.so
[14:58:38] Loaded.
[14:58:38] Loaded 3 plugins.
[14:58:38]
[14:58:38] Ban list
[14:58:38] --------
[14:58:38] Loaded: samp.ban
[14:58:38]
[14:58:38]
[14:58:38] Filterscripts
[14:58:38] ---------------
[14:58:38] Loading filterscript 'anti-fake-killer.amx'...
[14:58:38]
---------------------------------------------------------------
[14:58:38] Anti Fake-Killer | Creation date: 01.12.2011 | Autor: DMC & RelaxDB |
[14:58:38] ---------------------------------------------------------------
[14:58:38] Loading filterscript 'anti-spam.amx'...
[14:58:38]
---------------------------------------------------------------
[14:58:38] Anti Spam Flood | Creation date: 01.12.2011 | Autor: DMC & RelaxDB |
[14:58:38] ---------------------------------------------------------------
[14:58:38] Loading filterscript 'anti-driveby.amx'...
[14:58:38]
--------------------------------------
[14:58:38] Anti Drive-By creat de RelaxDB
[14:58:38] --------------------------------------
[14:58:38] Loading filterscript 'anti-crasher.amx'...
[14:58:38] Loading filterscript 'antirconhack.amx'...
[14:58:38] Loading filterscript 'restrictienume.amx'...
[14:58:38] Loading filterscript 'semnalizari.amx'...
[14:58:38] Loading filterscript 'bots.amx'...
[14:58:38]
[14:58:38] Ban list
[14:58:38] --------
[14:58:38] Loaded: samp.ban
[14:58:38]
[14:58:38] Bots Security Script v1.0B loaded
[14:58:38] Loading filterscript '[10/09/13.amx'...
[14:58:38] Unable to load filterscript '[10/09/13.amx'.
[14:58:38] Loading filterscript '|.amx'...
[14:58:38] Unable to load filterscript '|.amx'.
[14:58:38] Loading filterscript '18:00:31].amx'...
[14:58:38] Unable to load filterscript '18:00:31].amx'.
[14:58:38] Loading filterscript 'root.amx'...
[14:58:38] Unable to load filterscript 'root.amx'.
[14:58:38] Loading filterscript '-.amx'...
[14:58:38] Unable to load filterscript '-.amx'.
[14:58:38] Loading filterscript 'INGAME.amx'...
[14:58:38] Unable to load filterscript 'INGAME.amx'.
[14:58:38] Loading filterscript 'BA.amx'...
[14:58:38] Unable to load filterscript 'BA.amx'.
[14:58:38] Loaded 8 filterscripts.
[14:58:38] Error: Function not registered: 'mysql_connect'
[14:58:38] Error: Function not registered: 'mysql_query'
[14:58:38] Error: Function not registered: 'mysql_store_result'
[14:58:38] Error: Function not registered: 'mysql_fetch_row_format'
[14:58:38] Error: Function not registered: 'mysql_ping'
[14:58:38] Error: Function not registered: 'mysql_reconnect'
[14:58:38] Error: Function not registered: 'mysql_real_escape_string'
[14:58:38] Error: Function not registered: 'mysql_num_rows'
[14:58:38] Error: Function not registered: 'mysql_fetch_field_row'
[14:58:38] Error: Function not registered: 'mysql_free_result'
[14:58:38] Error: Function not registered: 'mysql_close'
[14:58:38] Error: Function not registered: 'mysql_debug'
[14:58:38] Script[gamemodes/R-GM.amx]: Run time error 19: "File or function is not found"
[14:58:38] Number of vehicle models: 0
[/pawn]
-
Primesc niste erori ciudate , care nu le-am mai intampinat pana acuma . Am facut baza de date la server iam facut legatura (acolo la sql_host , user , pass , db) , dar primesc urmatoarele erori (in server_log , ca la Mode la server , arata Unknown) .
[pawn]
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team
[14:32:11]
[14:32:11] Server Plugins
[14:32:11] --------------
[14:32:11] Loading plugin: mysql.so
[14:32:11] Failed (/lib/libmysqlclient_r.so.15: file too short)
[14:32:11] Loading plugin: sscanf.so
[14:32:11]
[14:32:11] ===============================
[14:32:11] sscanf plugin loaded.
[14:32:11] © 2009 Alex "Y_Less" Cole
[14:32:11] 0.3d-R2 500 Players "dnee"
[14:32:11] ===============================
[14:32:11] Loaded.
[14:32:11] Loading plugin: streamer.so
[14:32:11]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[14:32:11] Loaded.
[14:32:11] Loaded 2 plugins.
[14:32:11]
[14:32:11] Ban list
[14:32:11] --------
[14:32:11] Loaded: samp.ban
[14:32:11]
[14:32:11]
[14:32:11] Filterscripts
[14:32:11] ---------------
[14:32:11] Loading filterscript 'anti-fake-killer.amx'...
[14:32:11]
---------------------------------------------------------------
[14:32:11] Anti Fake-Killer | Creation date: 01.12.2011 | Autor: DMC & RelaxDB |
[14:32:11] ---------------------------------------------------------------
[14:32:11] Loading filterscript 'anti-spam.amx'...
[14:32:11]
---------------------------------------------------------------
[14:32:11] Anti Spam Flood | Creation date: 01.12.2011 | Autor: DMC & RelaxDB |
[14:32:11] ---------------------------------------------------------------
[14:32:11] Loading filterscript 'anti-driveby.amx'...
[14:32:11]
--------------------------------------
[14:32:11] Anti Drive-By creat de RelaxDB
[14:32:11] --------------------------------------
[14:32:11] Loading filterscript 'anti-crasher.amx'...
[14:32:11] Loading filterscript 'antirconhack.amx'...
[14:32:11] Loading filterscript 'restrictienume.amx'...
[14:32:11] Loading filterscript 'semnalizari.amx'...
[14:32:11] Loading filterscript 'bots.amx'...
[14:32:11]
[14:32:11] Ban list
[14:32:11] --------
[14:32:11] Loaded: samp.ban
[14:32:11]
[14:32:11] Bots Security Script v1.0B loaded
[14:32:11] Loading filterscript '[10/09/13.amx'...
[14:32:11] Unable to load filterscript '[10/09/13.amx'.
[14:32:11] Loading filterscript '|.amx'...
[14:32:11] Unable to load filterscript '|.amx'.
[14:32:11] Loading filterscript '18:00:31].amx'...
[14:32:11] Unable to load filterscript '18:00:31].amx'.
[14:32:11] Loading filterscript 'root.amx'...
[14:32:11] Unable to load filterscript 'root.amx'.
[14:32:11] Loading filterscript '-.amx'...
[14:32:11] Unable to load filterscript '-.amx'.
[14:32:11] Loading filterscript 'INGAME.amx'...
[14:32:11] Unable to load filterscript 'INGAME.amx'.
[14:32:11] Loading filterscript 'BA.amx'...
[14:32:11] Unable to load filterscript 'BA.amx'.
[14:32:11] Loaded 8 filterscripts.
[14:32:11] Script[gamemodes/R-GM.amx]: Run time error 19: "File or function is not found"
[14:32:11] Number of vehicle models: 0
[/pawn]
Acele Fillescript-uri care sunt Unable , nu le am nici in server.cfg , dar nici in folderul filescript . Hmm ciudat ca imi apare acolo ...
-
Buna ziua SA:MP.Ro am si eu o problema la masinile de la factiune :
- Cand intru intr-o masina de factiune , ma da jos direct din ea . Nici nu imi scrie ca acea masina este personala , dar nici nu imi scrie ca nu fac parte din factiunea X (problema asta am intalnito mai demult [poveste veche]) . Cam la toate masinile fac asa (parca la PD nu facea [verificat] , dar insa face la ganguri etc] .
public-ul OnPlayerStateChange
[pawn]public OnPlayerStateChange(playerid, newstate, oldstate)
{
new string[256];
new newcar = GetPlayerVehicleID(playerid);
new vehicleid = GetPlayerVehicleID(playerid);
if(newstate==2)
{
for(new i = 0; i < sizeof(CarInfo); i++)
{
if(newcar == CarInfo[ownedvehicle])
{
if(CarInfo[cOwned]== 0)
{
TogglePlayerControllable(playerid, 0);
CarOffered[playerid]=1;
SendClientMessage(playerid,COLOR_GREEN,"___________________________________________________________");
SendClientMessage(playerid,COLOR_YELLOW,"{33CCFF}»{d6d6d6} Scrie {00bfff}/v(ehicle) buy {d6d6d6}pentru a cumpara vehiculul.");
SendClientMessage(playerid,COLOR_YELLOW,"{33CCFF}»{d6d6d6} Scrie {00bfff}/exitveh {d6d6d6}pentru a iesi din vehicul.");
SendClientMessage(playerid,COLOR_GREEN,"___________________________________________________________");
format(string, sizeof(string), "{33CCFF}»{d6d6d6} Pret: {30a030}%s{d6d6d6} • Model ID: {00bfff}%d {d6d6d6}• Vanzator: {00bfff}%s{d6d6d6}.", FormatMoney(CarInfo[newcar][cValue]), CarInfo[newcar][cModel], CarInfo[newcar][cDescription]);
SendClientMessage(playerid, COLOR_YELLOW, string);
SendClientMessage(playerid,COLOR_GREEN,"___________________________________________________________");
Delete3DTextLabel(TextUpCar);
}
if(CarInfo[cOwned]== 1)
{
format(string, sizeof(string), "{00BFFF}[xT]: {d6d6d6}Acest vehicul ii apartine lui: {00bfff}%s{d6d6d6}.", CarInfo[newcar][cOwner]);
SendClientMessage(playerid, COLOR_YELLOW, string);
Delete3DTextLabel(TextUpCar);
}
}
}
}
if(newstate == PLAYER_STATE_ONFOOT)
{
if(PlayerKarting[playerid] > 0 && PlayerInKart[playerid] > 0)
{
PlayerInKart[playerid] = 0;
KartingPlayers --;
}
if(TransportDuty[playerid] > 0)
{
if(TransportDuty[playerid] == 1)
{
TaxiDrivers -= 1;
}
else if(TransportDuty[playerid] == 2)
{
BusDrivers -= 1;
}
TransportDuty[playerid] = 0;
format(string, sizeof(string), "{00BFFF}[xT]:{d6d6d6} Acum esti OFF-Duty si ai primit $%d.", TransportMoney[playerid]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
GivePlayerCash(playerid, TransportMoney[playerid]);
ConsumingMoney[playerid] = 1; TransportValue[playerid] = 0; TransportMoney[playerid] = 0;
PlayerFare[playerid] = 0;
}
if(TransportCost[playerid] > 0 && TransportDriver[playerid] < 999)
{
if(IsPlayerConnected(TransportDriver[playerid]))
{
if(GetPlayerCash(TransportDriver[playerid]) < TransportCost[playerid])
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_WHITE, "{33CCFF}»{d6d6d6} Ai fost dat jos din Taxi deoarece numai ai bani de aceasta Cursa.");
return 1;
}
TransportMoney[TransportDriver[playerid]] += TransportCost[playerid];
TransportTime[TransportDriver[playerid]] = 0;
TransportCost[TransportDriver[playerid]] = 0;
format(string, sizeof(string), "~w~Cursa costa~n~~r~$%d",TransportCost[playerid]);
GameTextForPlayer(playerid, string, 5000, 1);
format(string, sizeof(string), "~w~Pasagerul s-a dat jos~n~~g~Suma $%d",TransportCost[playerid]);
GameTextForPlayer(TransportDriver[playerid], string, 5000, 1);
GivePlayerCash(playerid, -TransportCost[playerid]);
TransportCost[playerid] = 0;
TransportTime[playerid] = 0;
TransportDriver[playerid] = 999;
PlayerFare[playerid] = 0;
}
}
TelePos[playerid][0] = 0.0;
TelePos[playerid][1] = 0.0;
}
if(newstate == PLAYER_STATE_PASSENGER) // TAXI & BUSSES
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == 2 && TransportDuty > 0)
{
if(GetPlayerCash(playerid) < TransportValue)
{
format(string, sizeof(string), "{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar nu ai $%d pentru a intra.", TransportValue);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
RemovePlayerFromVehicle(playerid);
}
else
{
if(TransportDuty == 1)
{
format(string, sizeof(string), "{33CCFF}»{d6d6d6} Ai platit $%d pentru cursa cu Taxiul.", TransportValue);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "{33CCFF}»{d6d6d6} %s a intrat in Taxi.", name);
SendClientMessage(i, COLOR_LIGHTBLUE, string);
TransportTime = 1;
TransportTime[playerid] = 1;
TransportCost[playerid] = TransportValue;
TransportCost = TransportValue;
TransportDriver[playerid] = i;
}
else if(TransportDuty == 2)
{
format(string, sizeof(string), "{33CCFF}»{d6d6d6} Ai platit $%d pentru o cursa cu Taxiul.", TransportValue);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "{33CCFF}»{d6d6d6} %s a intrat in Bus.", name);
SendClientMessage(i, COLOR_LIGHTBLUE, string);
}
GivePlayerCash(playerid, - TransportValue);
TransportMoney += TransportValue;
}
}
}
}
}
if(newstate == PLAYER_STATE_WASTED)
{
if(WantedLevel[playerid] >= 1)
{
new price = WantedLevel[playerid] * 2000;
new count;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsACop(i) && CrimInRange(30.0, playerid,i))
{
count = 1;
format(string, sizeof(string), "~w~Suspect Ucis ~n~ Rascumparare~r~%d~g~$", price);
GameTextForPlayer(i, string, 5000, 1);
ConsumingMoney = 1;
GivePlayerCash(i, price / 2);
PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
}
}
}
if(count == 1)
{
GivePlayerCash(playerid, - price);
PlayerInfo[playerid][pWantedDeaths] += 1;
PlayerInfo[playerid][pJailed] = 1;
SetPlayerWantedLevel(playerid, 0);
PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(600);
format(string, sizeof(string), "{00BFFF}[xT]:{d6d6d6} Ai intrat in Puscarie pentru %d si ai platit $%d.", PlayerInfo[playerid][pJailTime], price);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
WantedPoints[playerid] = 0;
WantedLevel[playerid] = 0;
ResetPlayerWeapons(playerid);
SetPlayerSpawn(playerid);
}
}
}
if(newstate == PLAYER_STATE_DRIVER) //buggy dont finnish
{// 38 / 49 / 56 = SS
TelePos[playerid][0] = 0.0;
TelePos[playerid][1] = 0.0;
if(IsABoat(newcar))
{
if(PlayerInfo[playerid][pBoatLic] < 1)
{
SendClientMessage(playerid, COLOR_GREY, "{00BFFF}[xT]:{d6d6d6} Ne pare rau dar nu ai licenta de navigat.");
RemovePlayerFromVehicle(playerid);
}
}
new str[80]; if (newstate == 2 || newstate == 3)
{
format(str, sizeof(str), "~p~%s",vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
GameTextForPlayer(playerid, str, 300, 1);
}
else if(IsAPlane(newcar))
{
if(PlayerInfo[playerid][pFlyLic] < 1)
{
if(TakingLesson[playerid] == 1) { }
else {
SendClientMessage(playerid, COLOR_GREY, "{00BFFF}[xT]:{d6d6d6} Ne pare rau dar nu ai licenta de pilotaj.");
RemovePlayerFromVehicle(playerid); }
}
}
else if(IsAPlane(newcar))
{
if(PlayerInfo[playerid][pFlyLic] < 1)
{
if(TakingLesson[playerid] == 1) { }
else {
SendClientMessage(playerid, COLOR_GREY, "{00BFFF}[xT]:{d6d6d6} Ne pare rau dar nu ai licenta de pilotaj.");
RemovePlayerFromVehicle(playerid); }
}
}
else
{
if(PlayerInfo[playerid][pCarLic] < 1)
{
if(PlayerDrunk[playerid] >= 5)
{
WantedPoints[playerid] += 1;
GetPlayerWantedLevel(playerid);
SetPlayerCriminal(playerid,255, "Drunk Driving");
}
if(TakingLesson[playerid] == 1) { }
else {
SendClientMessage(playerid, COLOR_GREY, "{00BFFF}[xT]:{d6d6d6} Ne pare rau dar nu ai licenta de condus.");
RemovePlayerFromVehicle(playerid); }
}
else if(PlayerDrunk[playerid] >= 5)
{
WantedPoints[playerid] += 1;
GetPlayerWantedLevel(playerid);
SetPlayerCriminal(playerid,255, "Drunk Driving");
}
}//Done with car check
if(IsACopCar(newcar))
{
if(IsACop(playerid)) { }
else { RemovePlayerFromVehicle(playerid); }
}
else if(IsAnAmbulance(newcar))
{
if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4) { }
else { RemovePlayerFromVehicle(playerid); }
}
if(PlayerKarting[playerid] != 0)
{
new kart = GetPlayerVehicleID(playerid);
if(kart == 0)
{
PlayerInKart[playerid] = 1;
KartingPlayers ++;
}
}
if(newcar == 0)
{
if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//national guard
{
if(PlayerInfo[playerid][pRank] < 3)
{
SendClientMessage(playerid,COLOR_GREY,"{00BFFF}[xT]:{d6d6d6} Trebuie sa ai Rank 3 pentru a pilota acest Elicopter.");
RemovePlayerFromVehicle(playerid);
}
}
else
{
RemovePlayerFromVehicle(playerid);
}
}
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetPlayerVehicleID(playerid) != p_CarWarpVehicleID[playerid])
{
if(p_CarWarpTime[playerid] > gettime( ) )
{
SendClientMessage(playerid, 0x33AA33AA, "{00BFFF}[XtreameZon Bot]:{FF6347} Ai primit Kick pentru Car Warp Hack.");
format(str,sizeof(str),"{00BFFF}[XtreameZon Bot]:{FF6347} %s a primit Kick, Motiv: Car Warp Hack",GetName(playerid));
SendClientMessageToAll(0x33AA33AA,str);
Kick(playerid);
return 1;
}
p_CarWarpTime[playerid] = gettime( ) + 1;
p_CarWarpVehicleID[playerid] = GetPlayerVehicleID(playerid);
}
}
//=====================================================================================================================
// Restrictie Vehicule
//=====================================================================================================================
// Police Departament
if(newcar == pdcar1 || newcar == pdcar2 || newcar == pdcar3 || newcar == pdcar4 || newcar == pdcar5 || newcar == pdcar6 || newcar == pdcar7 || newcar == pdcar8 || newcar == pdcar9 || newcar == pdcar10 ||
newcar == pdcar11 || newcar == pdcar12 || newcar == pdcar13 || newcar == pdcar14 || newcar == pdcar15 || newcar == pdcar16)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {3C54FC}Police Departament.");
RemovePlayerFromVehicle(playerid);
}
}
// FBI Agency
if(newcar == fbicar1 || newcar == fbicar1 || newcar == fbicar2 || newcar == fbicar3 || newcar == fbicar4 || newcar == fbicar5 || newcar == fbicar6 || newcar == fbicar7 || newcar == fbicar8 || newcar == fbicar9 || newcar == fbicar10 || newcar == fbicar11 || newcar == fbicar12)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {3C54FC}FBI Agency.");
RemovePlayerFromVehicle(playerid);
}
}
// National Guard
if(newcar == ngcar1 || newcar == ngcar2 || newcar == ngcar3 || newcar == ngcar4 || newcar == ngcar5 || newcar == ngcar6 || newcar == ngcar7 || newcar == ngcar8|| newcar == ngcar9 || newcar == ngcar10 || newcar == ngcar11 || newcar == ngcar12 || newcar == ngcar13 || newcar == ngcar14 || newcar == ngcar15)
if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {3C54FC}National Guard.");
RemovePlayerFromVehicle(playerid);
}
}
// Medic & Fireman
if(newcar == mfcar1 || newcar == mfcar2 || newcar == mfcar3 || newcar == mfcar4 || newcar == mfcar5 || newcar == mfcar6 || newcar == mfcar7)
{
if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {FF9B9B}Medic & Fireman.");
RemovePlayerFromVehicle(playerid);
}
}
// La Cosa Nostra
if(newcar == lcncar1 || newcar == lcncar2 || newcar == lcncar3 || newcar == lcncar4 || newcar == lcncar5 || newcar == lcncar6 || newcar == lcncar7 || newcar == lcncar8 || newcar == lcncar9 || newcar == lcncar10 || newcar == lcncar11)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {FF9900}La Cosa Nostra.");
RemovePlayerFromVehicle(playerid);
}
}
// Yakuza Mafia
if(newcar == ykzcar1 || newcar == ykzcar2 || newcar == ykzcar3 || newcar == ykzcar4 || newcar == ykzcar5 || newcar == ykzcar6 || newcar == ykzcar7 || newcar == ykzcar8 || newcar == ykzcar9 || newcar == ykzcar10 || newcar == ykzcar11)
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {33AA33}Yakuza Mafia.");
RemovePlayerFromVehicle(playerid);
}
}
// Staff-ul primariei
if(newcar == primarcar1 || newcar == primarcar2)
{
if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {9ACD32}Staff-ul Primariei.");
RemovePlayerFromVehicle(playerid);
}
}
// Hitman Agency
if(newcar == hitcar1 || newcar == hitcar2 || newcar == hitcar3 || newcar == hitcar4 || newcar == hitcar5 || newcar == hitcar6 || newcar == hitcar7 || newcar == hitcar8 || newcar == hitcar9)
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {8E2323}Hitman Agency.");
RemovePlayerFromVehicle(playerid);
}
}
// News Reporter
if(newcar == nrcar1 || newcar == nrcar2 || newcar == nrcar3 || newcar == nrcar4 || newcar == nrcar5 || newcar == nrcar6 || newcar == nrcar7 || newcar == nrcar8)
{
if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {EFC6FF}News Reporter.");
RemovePlayerFromVehicle(playerid);
}
}
// School Instructor
if(newcar == sicar1 || newcar == sicar2 || newcar == sicar3 || newcar == sicar4)
{
if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {00F5FF}School Instructor.");
RemovePlayerFromVehicle(playerid);
}
}
// Bloods Gang
if(newcar == bzcar1 || newcar == bzcar2 || newcar == bzcar3 || newcar == bzcar4 || newcar == bzcar5 || newcar == bzcar6 || newcar == bzcar7 || newcar == bzcar8)
{
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {E60000}Bloods Gang.");
RemovePlayerFromVehicle(playerid);
}
}
// Crips Gang
if(newcar == czcar1 || newcar == czcar2 || newcar == czcar3 || newcar == czcar4 || newcar == czcar5 || newcar == czcar6 || newcar == czcar7 || newcar == czcar8)
{
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {1E519D}Crips Gang.");
RemovePlayerFromVehicle(playerid);
}
}
// Nortenos Gang
if(newcar == nzcar1 || newcar == nzcar2 || newcar == nzcar3 || newcar == nzcar4 || newcar == nzcar5 || newcar == nzcar6 || newcar == nzcar7 || newcar == nzcar8)
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {FFD700}Nortenos Gang.");
RemovePlayerFromVehicle(playerid);
}
}
// Surenos Gang
if(newcar == szcar1 || newcar == szcar2 || newcar == szcar3 || newcar == szcar4 || newcar == szcar5 || newcar == szcar6 || newcar == szcar7 || newcar == szcar8)
{
if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Nu faci parte din factiunea {9CFFFE}Surenos Gang.");
RemovePlayerFromVehicle(playerid);
}
}
// Masini VIP
if(newcar == vipcar1 || newcar == vipcar2 || newcar == vipcar3 || newcar == vipcar4 || newcar == vipcar5)
{
if(PlayerInfo[playerid][pVip] == 1 || PlayerInfo[playerid][pVip] == 2) { }
else
{
SendClientMessage(playerid, 0xFF66FFAA,"{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar nu esti un {FF66FF}VIP.");
RemovePlayerFromVehicle(playerid);
}
}
// Robbank
if(newcar == robcar1)
{
if(PlayerInfo[playerid][pLevel] >= 5)
{
SendClientMessage(playerid, COLOR_YELLOW, "[xT]: Scrie /robbank pentru a jefui banca.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar iti trebuie level 5 pentru a conduce Vanul.");
RemovePlayerFromVehicle(playerid);
}
if(IsACop(playerid))
{
SendClientMessage(playerid, COLOR_GREY, "{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar politistii nu pot conduce Vanul. !");
RemovePlayerFromVehicle(playerid);
}
}
// Permis de Conducere
if(newcar == dmvcar1 || newcar == dmvcar2 || newcar == dmvcar3 || newcar == dmvcar4)
{
if(TakingLesson[playerid] == 1)
{
KillTimer(dmvtimer1);
DMVCountDown(playerid);
SendClientMessage(playerid,COLOR_LIGHTBLUE,"{00BFFF}[xT]:{d6d6d6} Ai la dispozitie {00BFFF}350 {d6d6d6}secunde.");
SendClientMessage(playerid,COLOR_LIGHTBLUE,"{00BFFF}[xT]:{d6d6d6} Condu cu grija pe partea Dreapta si ai grija sa nu ciocnesti vehiculul.");
CP[playerid] = 104;
SetPlayerCheckpoint(playerid, 1822.8055,-1839.4559,13.4141,6.0);
}
else
{
SendClientMessage(playerid,COLOR_GREY,"{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar acest Vehicul este doar pentru cei care dau Scoala de Soferi.");
RemovePlayerFromVehicle(playerid);
}
}
// Job: Gunoier
if(newcar == gunoiercar1 || newcar == gunoiercar2 || newcar == gunoiercar3 || newcar == gunoiercar4 || newcar == gunoiercar5 || newcar == gunoiercar6)
{
if(PlayerInfo[playerid][pJob] != 18)
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar nu ai Job-ul Gunoier.");
RemovePlayerFromVehicle(playerid);
}
}
// Job: Fermier
if(newcar == fermiercar1 || newcar == fermiercar2 || newcar == fermiercar3 || newcar == fermiercar4 || newcar == fermiercar5 || newcar == fermiercar6 || newcar == fermiercar7)
{
if(PlayerInfo[playerid][pJob] != 21)
{
SendClientMessage(playerid, COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar nu ai Job-ul Fermier.");
RemovePlayerFromVehicle(playerid);
}
}
// Job: Pizza Boy
if(newcar == pizzacar1 || newcar == pizzacar2 || newcar == pizzacar3 || newcar == pizzacar4 || newcar == pizzacar5 || newcar == pizzacar6)
{
if(PlayerInfo[playerid][pJob] != 16)
{
SendClientMessage(playerid, COLOR_WHITE, "{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar nu ai Job-ul Pizza Boy.");
RemovePlayerFromVehicle(playerid);
}
}
// Job: Trucker
if(newcar == truckercar1 || newcar == truckercar2 || newcar == truckercar3 || newcar == truckercar4 || newcar == truckercar5 || newcar == truckercar6)
{
if(PlayerInfo[playerid][pJob] != 22)
{
SendClientMessage(playerid, COLOR_WHITE, "{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar nu ai Job-ul Trucker.");
RemovePlayerFromVehicle(playerid);
}
}
// Job: Taxi Drive
if(newcar == taxicar1 || newcar == taxicar2 || newcar == taxicar3 || newcar == taxicar4)
{
if(PlayerInfo[playerid][pJob] != 20)
{
SendClientMessage(playerid,COLOR_WHITE,"{00BFFF}[xT]:{d6d6d6} Ne pare rau, dar nu ai Job-ul Taxi Driver.");
RemovePlayerFromVehicle(playerid);
}
}
// Kart
if(newcar== kartcar1 || newcar == kartcar2 || newcar == kartcar3 || newcar == kartcar4)
{
if(PlayerKarting[playerid] != 1)
{
RemovePlayerFromVehicle(playerid);
}
}
// RentMoto
if(newcar == rentmotocar1 || newcar == rentmotocar2 || newcar == rentmotocar3 || newcar == rentmotocar4)
{
if(HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~Pret: ~r~%d~g~$ ~n~ ~w~Scrie ~g~/rentmoto ~n~ ~w~ Scrie ~g~/exitveh ~w~ pentru a iesi",SBizzInfo[5][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
// RentCar 1
if(newcar == rentcarsf1 || newcar == rentcarsf2 || newcar == rentcarsf3 || newcar == rentcarsf4)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~Pret: ~r~%d~g~$ ~n~ ~w~Scrie ~g~/rentcar ~n~ ~w~ Scrie ~g~/exitveh ~w~ pentru a iesi",SBizzInfo[0][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
// RentCar 2
if(newcar == rentcarls1 || newcar == rentcarls2 || newcar == rentcarls3 || newcar == rentcarls4)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~Pret: ~r~%d~g~$ ~n~ ~w~Scrie ~g~/rentcar ~n~ ~w~ Scrie ~g~/exitveh ~w~ pentru a iesi",SBizzInfo[1][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
// RentLimo
if(newcar == rentlimo1 || newcar == rentlimo2 || newcar == rentlimo3 || newcar == rentlimo4)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~Pret: ~r~%d~g~$ ~n~ ~w~Scrie ~g~/rentlimo ~n~ ~w~ Scrie ~g~/exitveh ~w~ pentru a iesi",SBizzInfo[8][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
// RentBoat
if(newcar == rentboat1 || newcar == rentboat2 || newcar == rentboat3 || newcar == rentboat4)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~Pret: ~r~%d~g~$ ~n~ ~w~Scrie ~g~/rentboat ~n~ ~w~ Scrie ~g~/exitveh ~w~ pentru a iesi",SBizzInfo[12][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
// RentPlane
if(newcar == 359 || newcar == 360 || newcar == 361 || newcar == 362)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~Pret: ~r~%d~g~$ ~n~ ~w~Scrie ~g~/rentplane ~n~ ~w~ Scrie ~g~/exitveh ~w~ pentru a iesi",SBizzInfo[13][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
// RentBike
if(newcar == 267 || newcar == 268 || newcar == 269 || newcar == 270)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~Pret: ~r~%d~g~$ ~n~ ~w~Scrie ~g~/rentbike ~n~ ~w~ Scrie ~g~/exitveh ~w~ pentru a iesi",SBizzInfo[14][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
if(oldcar != 301)
{
if((housecar != oldcar && oldcar != 0) && (HireCar[playerid] != oldcar && newcar != housecar))
{
if(gLastDriver[oldcar] == playerid && oldcar != newcar)
{
gLastDriver[oldcar] = 300;
gCarLock[oldcar] = 1;
UnLockCar(oldcar);
}
}
}
gLastCar[playerid] = newcar;
gLastDriver[newcar] = playerid;
if(newstate == PLAYER_STATE_SPAWNED)
{
new Float: lwx, Float:lwy, Float:lwz;
GetPlayerPos(playerid, lwx, lwy, lwz);
if((lwz > 530.0 && PlayerInfo[playerid][pInt] == 0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1)) //the highest land point in sa = 526.8
{
SetPlayerSpawn(playerid);
}
if(PlayerOnMission[playerid] > 0)
{
GameTextForPlayer(playerid, "~r~Misiune gresita", 5000, 3);
PlayerOnMission[playerid] = 0;
PlayerInfo[playerid][pMissionNr] = 0;
}
if(PlayerInfo[playerid][pDonateRank] > 0) { SetPlayerHealth(playerid, 100.0); }
else { SetPlayerHealth(playerid, 50.0+PlayerInfo[playerid][pSHealth]); }
MedicBill[playerid] = 1;
TelePos[playerid][0] = 0.0;
TelePos[playerid][1] = 0.0;
gPlayerSpawned[playerid] = 1;
SafeTime[playerid] = 60;
// SetPlayerWantedLevel(playerid, WantedLevel[playerid]);
PlayerInfo[playerid][pModel] = PlayerInfo[playerid][pChar];
}
return 1;
}[/pawn]
Sper sa ma puteti ajuta .
-
Buna ziua SA:MP.RO , imi spuneti si mie va rog frumos ce trebuie sa fac la aceasta eroare ?
Eroare : [pawn]C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17567) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17567) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17640) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17640) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17768) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17768) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17799) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17799) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17906) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17906) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17971) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(17971) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18033) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18033) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18056) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18056) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18063) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18063) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18086) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18086) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18095) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18095) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18148) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18148) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18172) : error 017: undefined symbol "strtok"
C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm (1)\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(18172) : error 033: array must be indexed (variable "tmp")
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
[/pawn]
-
Daca sterg fisierul cars.cfg , dispar masinile personale , dar dupa aceea am problema la iduriile masinilor de la factiuni / job / DMV .
Adica daca intru intro masina de la DMV imi zice ca nu fac parte din factiunea Bloods . si tot asa .
PS : Am doua fisiere cars.cfg unul in folderul serverului ( unde ii consola , server.cfg etc ) , si unul in scriptfiles . Eu am dat joc fisierul cars.cfg din scriptfiles .
-
Se pare ca tu nu meriti sa fi nici macar un scripter . Esti un ******** . Un scripter adevarat ( DarkSone , Gireada , TheDarky , Rock si multii altii de pe sa-mp.ro ) ii ajuta pe playeri pana la sfarsit . Tu esti un ***** . Okei , nu ma ajuta dar sa stii ca esti un ***** .
-
Tot nu reusesc , nu poti tu te rog sa intrii la mine in calculator ? Daca da zimi aici si iti trimit PM cu idu si parola de la team wiere
-
Am facut si acest lucru si nu face nici un efect . Altceva va rog ?
-
Uite ce am in Personal Vehicle :
Si in Users :
[img width=500 height=373]
Deci nu cred ca ala
-
Da , are bug la comanda /acreatecar .
Prima data a avut la comanda /donatecar , de aceea DarkSone a scos acea comanda in versiunea trecuta . Momentan s-ar putea sa observatii bugul dar exista . Eu l-am rezolvat , am schimbat toata comanda de la A-Z . Acuma nu mai folosesc gamemoduri de pe net , asa ca nu mai stiu sigur cum a fost comanda .
Daca mi-o reamintesc o sa vo dau .
-
Buna ziua SA:MP.RO , am un gamemode la care masinile personale sunt adaugate prin scriptfiles ( ceva de genu ) . Imi puteti spune va rog ce fisier trebuie sa sterg , ca sa dispara masinile ? .
Precizez ca am incercat si cu un alt scriptfiles ( de la un alt gamemode ) , masinile au disparut , dar au aparut probleme la iduriile masinilor de la factiuni . Asa ca lam pus pe cel original inapoi .
Uitatii si folderele care le am eu in folderul scriptfiles :
-
Am rezolvat , era problema de la pawno . L-am schimbat cu cel de la gamemodul zyghy si am rezolvat . Mersii
-
Stiu ca va-ti saturat de problemele mele , si sper ca asta sa fie ultima. Cand vreau sa modific numele imi da niste erorii care numa nu reusesc sa le rezolv .
[pawn]C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\pawno\include\streamer.inc(297) : warning 202: number of arguments does not match definition
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\pawno\include\streamer.inc(304) : error 025: function heading differs from prototype
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(1618) : error 021: symbol already defined: "Time"
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(4275) : error 021: symbol already defined: "OnPlayerUpdate"
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(5489) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22860) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22861) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22862) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22863) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22864) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22865) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22866) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22867) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(23238) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(23253) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(69398) : error 021: symbol already defined: "JBC_TempBanCheck"
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72759) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72769) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72888) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72908) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\RYder\Desktop\bsGaming1 (4)\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72915) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase[/pawn]
Linia 304
[pawn]forward ChangeWeather();[/pawn]
Linia 1618
[pawn]new Text:Time;[/pawn]
Linia 4275
[pawn]{[/pawn] > ciudat
Linia 22860 - 22867
[pawn] Time = TextDrawCreate(546.000000, 35.000000, "--");
TextDrawBackgroundColor(Time, COLOR_BLACK);
TextDrawFont(Time, 3);
TextDrawLetterSize(Time, 0.379999, 0.899999);
TextDrawColor(Time, COLOR_LIGHTBLUE);
TextDrawSetOutline(Time, 1);
TextDrawSetProportional(Time, 1);
TextDrawSetShadow(Time, 1);[/pawn]
Linia 23238
[pawn]{[/pawn] > din nou nu inteleg lucrul acesta .
Linia 23253
[pawn]return result;[/pawn]
Linia 69398
[pawn]{[/pawn]
Linia 72759
[pawn]TBuilder=strtok(templine,idx);[/pawn]
Linia 72769
[pawn]TempLapper=strtok(templine,idx);[/pawn]
Linia 72888
[pawn]CBuilder=strtok(templine,i); // read off RACEBUILDER[/pawn]
Linia 72908
[pawn]TopRacers[j]=strtok(templine,i);[/pawn]
Linia 72915
[pawn]TopLappers[j]=strtok(templine,i);[/pawn]
-
Mersii , DarkSone . +1 . Am rezolvato .
TC
-
Buna ziua SA-MP.RO , am si eu o eroare care imi apare cand doresc sa importez bazadedate.sql . Baza de date este de la serverul SRF care l-a postat DarkSone . Uitati eroarea care mi-o da :
[pawn]Comanda SQL:
-- -- ContDeTeste -- INSERT INTO `players` (` id`, `username`, `password`, `Level`, `AdminLevel`, `DonateRank`, `UpgradePoints`, `ConnectedTime`, `Registered`, `Sex`, `Age`, `Origin`, `CK`, `Muted`, `Respect`, `Money`, `Bank`, `Crimes`, `Kills`, `Deaths`, `Arrested`, `WantedDeaths`, `Phonebook`, `LottoNr`, `Fishes`, `BiggestFish`, `Job`, `Job1`, `Paycheck`, `HeadValue`, `Jailed`, `JailTime`, `Materials`, `Drugs`, `Leader`, `Member`, `FMember`, `iRank`, `iChar`, `ContractTime`, `DetSkill`, `SexSkill`, `BoxSkill`, `LawSkill`, `MechSkill`, `JackSkill`, `CarSkill`, `NewsSkill`, `DrugsSkill`, `CookSkill`, `FishSkill`, `SHealth`, `Health`, `iInt`, `iLocal`, `Team`, `Model`, `PhoneNr`, `House`, `Bizz`, `Pos_x`, `Pos_y`, `Pos_z`, `CarLic`, `FlyLic`, `BoatLic`, `FishLic`, `GunLic`, `Gun1`, `Gun2`, `Gun3`, `Gun4`, `Ammo1`, `Ammo2`, `Ammo3`, `Ammo4`, `CarTime`, `PayDay`, `PayDayHad`, `CDPlayer`, `Wins`, `Loses`, `AlcoholPerk`, `DrugPerk`, `MiserPerk`, `PainPerk`, `TraderPerk`, `Tutorial`, `Mis[...]
MySQL zice:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE IF NOT EXISTS `vehicles` (
`CarID` int(24) NOT NULL,
`Model` in' at line 14 [/pawn]
S-ar putea daca va rog sa imi dati o alta baza de date ? Sau sa imi ziceti cam ce ar trebui sa fac . Multumesc .
-
Am facut , am adaugat sscanf de aici http://forum.sa-mp.com/showthread.php?t=120356
Si tot aceleasi erori , si mai am una in plus adica sscannf , tot acelasi text
-
Acuma imi da eroarea asta
-
Am facut update la pluginuri dar tot aceeiasi eroare imi da . Am recompilat .amx dar tot asa face . In sever.cfg imi scrie doar numele pluginului fara .dll sau .so ( daca adaug .so nu mai merge nimica ).
Atunci ce ar putea sa fie ?
-
Buna sa-mp.ro , am si eu o problema la consola care nu lasa serverul sa mearga [ Unknown ]
Inainte de asta am avut o problema la pluginus sscanf , am rezolvato dar tot imi da eroarea aceasta
[pawn]Script[gamemodes/rggm.amx]: Run time error 19:"File or function is not found:
Number of vehicle models: 0[/pawn]
Cam aceasta este eroarea care mio da . Sa stiti ca am instalat Net Framework 4 si Microsoft Visual C++ , deci astea le am .
PS : Nu am putut sa fac poze , pentru ca nu merge sa intru pe yahoo . Sper sa ma puteti si asa ajuta
Edit : Vreau sa va anunt ca gamemodul este pe mysql am creat baza de date , userul , am imporatat fisierul .sql si leam scris corect in gamemode , dar tot asa face.
-
Tot aceleasi erori imi da , ce ar trebui sa fac ?
Uitati tot codul
[pawn]stock EditLog(string[])
{
new entry[256];
format(entry, sizeof(entry), "%s\r\n",string);
new File:hFile;
hFile = fopen("Logs/Edit.log", io_append);
fwrite(hFile, entry);
fclose(hFile);
}[/pawn]
-
Buna ziua GTA-MP , am si eu o problema adica mai bine spus o eroare la compilare .
Uitati eroariile
[pawn]C:\Documents and Settings\RYder\Desktop\Chesti\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\pawno\include\streamer.inc(297) : warning 202: number of arguments does not match definition
C:\Documents and Settings\RYder\Desktop\Chesti\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\pawno\include\streamer.inc(304) : error 025: function heading differs from prototype
C:\Documents and Settings\RYder\Desktop\Chesti\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\gamemodes\redz.pwn(4311) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value
C:\Documents and Settings\RYder\Desktop\Chesti\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\gamemodes\redz.pwn(26999) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Errors.[/pawn]
Linia 304
PAWN Code : [select]
forward EditLog(string[]);
Inainte era acolo RespawnLog , am sterso , dar tot dadea pe 304 , am rebagato inapoi pe linia 305 si nu mia dat eroare pe 305 ci tot pe 304 cand acolo era altceva .. Deci cear putea sa fie ?
-
Scuzati pentru 2x post , stiu ca pot da si edit dar nu iese in evidenta.
Ma puteti ajuta va rog ? Cat de repede daca puteti .
Multumesc.
Help
in Arhivă probleme
Posted
Le-am citit si undeva zicea de Utiliza?i versiunea static?. Adica ? Pentru ca daca folosesc libmysqlclient.so.15 , nu imi merge . Si vreau sa incerc cu libmysqlclient.so.16 , ca asa mi-au zis cei de la host .
Si acolo nu zice nimic de unde s ail downloadez .:|
Sper sa ma puteti ajuta