Fallen0329
Membru-
Posts
129 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Everything posted by Fallen0329
-
ai incercat sa introduci fs-ul in gamemode?
-
Problema comanda /clothes in magazinu de haine
Fallen0329 replied to crazyzee's question in Arhivă probleme
dane comanda /clothes -
Asa are el in FS, daca el vrea asa, atunci asa sa fie desi va functiona doar ultimul dar nah.
-
Te-am rugat sa postezi acele 2 public-uri pentru a te putea ajuta.
-
Dar iti apare lista cu adminii? Si apare ca toti sunt off duty? sau cum?
-
incearca sa il introduci in gamemode iar la onplayerspawn sa fie printre primele [pawn]if( InMinigun[playerid] == 1 ) { SetPlayerPos(playerid, 1303.10, 2166.40, 10.70); SetPlayerPos(playerid, 1334.9963,2211.6309,12.0156); SetPlayerPos(playerid, 1360.3350,2197.4104,9.7578); SetPlayerPos(playerid, 1393.8765,2169.6057,9.7578); SetPlayerPos(playerid, 1409.6820,2150.9907,12.0156); return 1; }[/pawn] E posibil ca acest FS sa il teleporteze inapoi la minigun dar dupa intra onplayerspawn din gm si il trimite in alta parte
-
degabea ai scos plugin-ul daca serverul are nevoie de el. Incearca sa faci update la plugin sa nu iti mai adea acea eroare
-
Vezi daca ai publicurile LoadCars si SaveCars sau ceva de genu si dupa aceea servestene si noua cele 2 publicuri Si enum-ul pentru carinfo sau cum il ai.
-
Ai dat comanda /aod inainte de a da /admins? Daca da.. atunci ai ceva erori sau warning cand compilezi gm-ul?
-
cauta in gm si vezi daca ai undeva [pawn]TutTime = 0;[/pawn] Acolo vei avea dupa el sau putin inainte un SetPlayerPos, prin aia il trimite in cladirea aceea, acolo modifica coordonatele unde vrei sa fie spawnat
-
uite aici e comanda /admins pentru adminii care sunt on duty [pawn] if (!strcmp(cmd, "/admins", true)) { new counth; SCM(playerid, 0xC3DF00AA, "|______________Admins Online______________|"); for(new ply = 0; ply < MAX_PLAYERS; ply++) { if(IsPlayerConnected(ply)) { if(PlayerInfo[ply][pAdmin] == 1) { new duty[5]; if(AdminDuty[ply]) { duty = "On"; } else { duty = "Off"; } new tmpstr1[128]; new pname[MAX_PLAYER_NAME]; GetPlayerName(ply,pname,sizeof(pname)); format(tmpstr1,sizeof(tmpstr1),"Admin: %s - [Trainee Admin] [Level 1] - %s-Duty",pname,duty); SCM(playerid,0xDFE200FF,tmpstr1); counth++; } } } for(new ply = 0; ply < MAX_PLAYERS; ply++) { if(PlayerInfo[ply][pAdmin] == 2) { if(IsPlayerConnected(ply)) { new duty[5]; new pname[MAX_PLAYER_NAME]; if(AdminDuty[ply]) { duty = "On"; } else { duty = "Off"; } GetPlayerName(ply,pname,sizeof(pname)); new tmpstr2[128]; format(tmpstr2,sizeof(tmpstr2),"Admin: %s - [Low Admin] [Level 2] - %s-Duty",pname,duty); SCM(playerid,0x006BF6AA,tmpstr2); counth++; } } } for(new ply = 0; ply < MAX_PLAYERS; ply++) { if(PlayerInfo[ply][pAdmin] == 3) { if(IsPlayerConnected(ply)) { new duty[5]; new pname[MAX_PLAYER_NAME]; if(AdminDuty[ply]) { duty = "On"; } else { duty = "Off"; } GetPlayerName(ply,pname,sizeof(pname)); new tmpstr3[128]; format(tmpstr3,sizeof(tmpstr3),"Admin: %s - [Normal Admin] [Level 3] - %s-Duty",pname,duty); SCM(playerid,0x796600FF,tmpstr3); counth++; } } } for(new ply = 0; ply < MAX_PLAYERS; ply++) { if(PlayerInfo[ply][pAdmin] >= 4 && PlayerInfo[ply][pAdmin] <= 1336) { if(IsPlayerConnected(ply)) { new duty[5]; new pname[MAX_PLAYER_NAME]; if(AdminDuty[ply]) { duty = "On"; } else { duty = "Off"; } GetPlayerName(ply,pname,sizeof(pname)); new tmpstr4[128]; format(tmpstr4,sizeof(tmpstr4),"Admin: %s - [High Admin] [Level 4] - %s-Duty",pname,duty); SCM(playerid,0xC3F6B3AA,tmpstr4); counth++; } } } for(new ply = 0; ply < MAX_PLAYERS; ply++) { if(PlayerInfo[ply][pAdmin] == 1337) { if(IsPlayerConnected(ply)) { new duty[5]; new pname[MAX_PLAYER_NAME]; if(AdminDuty[ply]) { duty = "On"; } else { duty = "Off"; } GetPlayerName(ply,pname,sizeof(pname)); new tmpstr5[128]; format(tmpstr5,sizeof(tmpstr5),"Admin: %s - [Lead Admin] [Level 1337] - %s-Duty",pname,duty); SCM(playerid,COLOR_RED,tmpstr5); counth++; } } } for(new ply = 0; ply < MAX_PLAYERS; ply++) { if(PlayerInfo[ply][pAdmin] == 1338) { if(IsPlayerConnected(ply)) { new duty[5]; new pname[MAX_PLAYER_NAME]; if(AdminDuty[ply]) { duty = "On"; } else { duty = "Off"; } GetPlayerName(ply,pname,sizeof(pname)); new tmpstr6[128]; format(tmpstr6,sizeof(tmpstr6),"Admin: %s - [Head Admin] [Level 1338] - %s-Duty",pname,duty); SCM(playerid,0xE4BCD3AA,tmpstr6); counth++; } } } } [/pawn] Asta e in cazul in care tu ai rank-urile de admin 1,2,3,4,1336,1337,1338 Iar pentru helper trebuie sa creezi o comanda ca si cum e pentru admin /aod si modifici ce ti-am dat eu mai sus pentru /helpers
-
Pentru a te ajuta cu comanda asta trebuie sa dai prima data comanda cu care te pui On Duty daca ai asa ceva.
-
pe calc ai instalat gta san andreas? daca da atunci incearca sa in reinstalezi tot samp+ gta-sa + map editor
-
"MTA" e una "Map editor" e alta. MTA- Multi Theft Auto este un client ca si sa-mp cu care poti sa editezi harti dar nu poti sa stergi obiecte Map editor - este un program cu care poti sa editezi hartile cat si sa stergi obiecte Ceea ce folosesti este Map editor. Probleme ce am gasit ceva de genu cum ai tu rezolvarea este in felul urmator. Ceea ce trebuie sa faci sa fi sigur ca nu ai pornit gta - san andreas, pentru ca programul acesta are nevoie de client.
-
eroarea iti apare cand pui baza aia de date in phpMyAdmin?
-
dane functia unde ai liniile alea sa vedem
-
sunt unele servere care au comanda sau scripterii si-au facut comanda de mutare.
-
trebuie sa astepti sau ai uitat ceva acolade sa inchizi sau sa deshizi
-
uite aici trebuie sa modifici [pawn] if(strcmp(cmd, "/ban", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{B580FE}Foloseste: {FFFFFF} /ban [playerid/PartOfName] [reason]"); return 1; } giveplayerid = ReturnUser(tmp); if(PlayerBanned[playerid] == -1)//report timer { SendClientMessage(playerid,COLOR_WHITE,"Poti da /ban doar o data la 5 minute!"); return 1; } PlayerBanned[playerid] = -1; SetTimerEx("ResetBan", 300000, 0, "d", playerid); if (PlayerInfo[playerid][pAdmin] >= 1337) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "{B580FE}Foloseste: {FFFFFF} /ban [playerid/PartOfName] [reason]"); return 1; } -----------------------------------------> if(PlayerInfo[giveplayerid][pAdmin] >= 1338) { SendClientMessage(playerid,COLOR_GREY,"That player can not be banned"); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 128, "AdmWarning: %s incearca comanda /ban pe un admin", sendername); ABroadCast(COLOR_YELLOW,string,1); return 1; } new year, month,day; getdate(year, month, day); format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year); BanLog(string); format(string, sizeof(string), "[ban]: %s was banned by %s, reason: %s", giveplayer, sendername, (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); PlayerInfo[giveplayerid][pLocked] = 1; new plrIP[16]; GetPlayerIp(giveplayerid,plrIP, sizeof(plrIP)); SendClientMessage(giveplayerid,COLOR_DBLUE,"|___________[bAN INFO]___________|"); format(string, sizeof(string), "Numele tau este: %s.",giveplayer); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "IP-ul tau este: %s.",plrIP); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "Ai fost banat de: %s.",sendername); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "Ai fost banat pentru urmatorul motiv: %s.",(result)); SendClientMessage(giveplayerid, COLOR_WHITE, string); format(string, sizeof(string), "Ai fost banat pe data de: %d/%d/%d (Ziua-Luna-Anul)",day,month,year); SendClientMessage(giveplayerid, COLOR_WHITE, string); SendClientMessage(giveplayerid,COLOR_DBLUE,"|___________[bAN INFO]___________|"); SendClientMessage(giveplayerid,COLOR_LIGHTRED,"[bAN INFO]: Poti face o cerere de unban pe forumul nostru.Forumul este www.PlayINFERNO.net .Succes !"); SendClientMessage(giveplayerid,COLOR_WHITE,"[HINT]: Te sfatuim sa faci o poza la aceste informatii,si sa o postezi cand faci cerere unban.Apasa F8 pentru a face poza !"); Ban(giveplayerid); return 1; } }//not connected } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; } [/pawn] in loc de 1338 pui ce admin vrei tu 1, 2 sau 3
-
in baza ta de date hID nu exista verifica cum e trecut primul camp in baza ta de date, posibil e doar ID
-
ai o eroare la un plugin [pawn] [20:50:52] Loading plugin: libmySQL [20:50:52] Plugin does not conform to architecture. [20:50:52] Failed. [/pawn]
-
Daca vrei sa fi ajutat dane si noua tot publicul nu doar jumatate
-
Daca masinile tale de trucker sunt definite cu TRAILER, TRAILER2, TRAILER3 si TRUCK4 atunci trebuie sa urmezi urmatorii pasi prima data schimba ce ai tu cu asta [pawn] public IsATruck(carid) { if(carid == TRAILER || carid == TRAILER2 || carid == TRAILER3 || carid == TRUCK4) { return 1; } return 0; } [/pawn] si la comanda modifici cu asta care ti-am pus eu mai jos [pawn] if(strcmp(cmd, "/buyprods", true) == 0) { if(IsPlayerConnected(playerid)) { new tmpcar = GetPlayerVehicleID(playerid); new compcost = 50; if(PlayerToPoint(60.0, playerid, -78.9067,-1130.7458,0.6489)) { if(IsATruck(tmpcar)) { if(PlayerHaul[tmpcar][pLoad] < PlayerHaul[tmpcar][pCapasity]) { new amount; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /buyprods [amount]"); return 1; } amount = strval(tmp); if(amount < 1 || amount > PlayerHaul[tmpcar][pCapasity]) { SendClientMessage(playerid, COLOR_GREY, "Can't buy less then 1 Product or more then 500 !"); return 1; } new check= PlayerHaul[tmpcar][pLoad] + amount; if(check > PlayerHaul[tmpcar][pCapasity]) { format(string, sizeof(string), "You went over the Truck Products Carry Limit of %d, you currently carry %d.",PlayerHaul[tmpcar][pCapasity],PlayerHaul[tmpcar][pLoad]); SendClientMessage(playerid, COLOR_GREY, string); return 1; } new cost = amount*compcost; if(PlayerInfo[playerid][pCash] >= cost) { PlayerHaul[tmpcar][pLoad] += amount; format(string, sizeof(string), "Products: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); format(string, sizeof(string), "You bought %d Products for %s.", amount,cost); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash]-cost; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); return 1; } else { format(string, sizeof(string), "You cant afford %d Products at %s !", amount,cost); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); return 1; } } else { format(string, sizeof(string), "Products: %d/%d.", PlayerHaul[tmpcar][pLoad],PlayerHaul[tmpcar][pCapasity]); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); return 1; } } else { SendClientMessage(playerid, TEAM_GROVE_COLOR, "This Vehicle does not deliver Products."); return 1; } } } return 1; } [/pawn] PS: Nush cum ai reusit tu sa compilezi cu comenzile care le-ai dat, dar fie incearca asa. Daca nici asa nu merge da si liniile unde ai create masinile de trucker Nu te baga daca habar nu ai cu ce se mananca scripturile
-
incearca sa pui numele
-
Vorbeste cu cei de la firma de hosting
