Jump to content

Warr007

Membru
  • Posts

    33
  • Joined

  • Last visited

Recent Profile Visitors

703 profile views

Warr007's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Vechi, dar frumos acest gamemode ^.^
  2. Problema intalnita (descriere): Salut, mi-am schimbat baza de date cu cea a lui hurdock (paneltenache.sql) si in Gamemode am modificat tot, pentru ca din rpg sa-mp cum era baza veche, am scris "indungi" si acuma nu mai porneste server-ul si imi da eroare ca nu gaseste fosta baza de date "rpg sa-mp"Ero(area / rile) / warning-(ul / urile):Liniile de cod / sursa / script-ul(obligatoriu):Imagini / Video (optional): http://imgur.com/eOx4tTHAti incercat sa rezolvati singur?: Da am verificat tot, cum as putea rezolva sa functioneze server-ul corect ca si inainte? Tinand cont ca am schimbat tot de la mysql_connect. Rezolvat a trebui sa pui 127.0.0.1 inloc de localhost
  3. Warr007

    Gate FBI

    Pai tocmai asta am facut, si nu functioneaza.
  4. Nu sunt atat de avansat incat sa il fac singur de la 0, stiu primele randuri si probabil nici alea corect, dar mai sa il fac pe tot cu functii etc, nu stiu. Sunt la inceput, incerc sa invat lucrurii noi, dar mna am nevoie si de ajutor ^.^.
  5. Warr007

    Gate FBI

    Am incercat sa ma iau si dupa tutoriale, dar degeaba, nu functioneaza deloc, si nici nu inteleg ce am pus gresit.
  6. Macar la panelul asta merg toate functile ? Pentru ca panelul acela din post nu merge de exemplu cand vrei sa te uiti peste cereri da eroare si nu doar acol. Pacat ca nu merge acel panel ...
  7. Warr007

    Gate FBI

    Problema intalnita (descriere): Cand apas "C", "H' pentru a deschisde poarta care am creat-o pur si simplu poarta se teleporteaza si dispare si nu mai apare, si una dintre porti sta pe loc.Ero(area / rile) / warning-(ul / urile): Nu primesc nici o eroare / warningLiniile de cod / sursa / script-ul(obligatoriu): gatefbi, gatefbi2, -------------------------------------------------------------------------------------- forward fbigateclose(); forward fbi2gateclose(); -------------------------------------------------------------------------------------- gatefbi = CreateObject(971, -1769.6999511719, 989.29998779297, 26.10000038147, 0.00000, 0.00000, 90.999969482422); gatefbi2 = CreateObject(971, -1769.5999755859, 980.5, 26.10000038147, 0.00000, 0.00000, 270); -------------------------------------------------------------------------------------- if(PlayerToPoint(15.0, playerid,-1769.6999511719, 989.29998779297, 26.10000038147)) { MoveObject(gatefbi,-1769.6999511719, 996.29998779297, 26.10000038147, -1000.0, -1000.0, -1000.0); SetTimer("fbigateclose" ,9000 ,false); return 1; } if(PlayerToPoint(15.0, playerid,-1769.5999755859, 980.5, 26.10000038147)) { MoveObject(gatefbi2,-1769.5999755859, 973.5, 26.10000038147,2, -1000.0, -1000.0, -1000.0); SetTimer("fbi2gateclose" ,9000 ,false); return 1; } -------------------------------------------------------------------------------------- public fbigateclose() { MoveObject(gatefbi,-1769.6999511719, 996.29998779297, 26.10000038147, -1000.0, -1000.0, -1000.0); return 1; } public fbi2gateclose() { MoveObject(gatefbi2,-1769.5999755859, 973.5, 26.10000038147,2, -1000.0, -1000.0, -1000.0); return 1; } Imagini / Video (optional): Ati incercat sa rezolvati singur?: Da, imi bat capu de 2 zile dar degeaba. Nu imi dau seama ce fac gresit, daca puteti sa corectati greseala sau sa imi ziceti ce sa modific. Va multumesc P.S Scuzati calitatea la video, trebuie sa se randeze. Doar ce l-am uploadat.
  8. Salut, nu aveti un sistem de vot in care poti vota admini/helper/lider De exemplu: /votehelper nume1, nume2, nume3 s.a.m.d Apoi admini sa poata da /vote nume dar doar admini /votelider nume1, nume2, nume3 s.a.m.d Apoi admini si membrii factiuni sa poate sa dea /vote nume Iar la sfarsit sa fie /voteend si sa afiseze numele cu cele mai multe voturi.
  9. Te pup omule. mersi mult pwp dulceeee Nu m-am gandit la asta:))
  10. Nu am enum pInfo nici enum pCash nici enum pLevel nici enum pAdmin.
  11. CMD:requestevent(playerid, params[]) { if(activeevent == 1) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}There's already an active event."); if(requestingevent[playerid] == 1) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}You're already requesting an event, cancel it first."); new title[50], location[50], description[100], prize, time[50]; if(sscanf(params, "p<|>s[50]s[50]s[50]s[100]d", title, location, time, description, prize)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Syntax: /requestevent [Title|Location|Time|Description|Prize]"); if(strlen(title) < 1 || strlen(title) > 50) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid amount of characters in title."); if(strlen(location) < 1 || strlen(location) > 50) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid amount of characters in location."); if(strlen(time) < 1 || strlen(time) > 50) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid amount of characters in time."); if(strlen(description) < 1 || strlen(description) > 100) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid amount of characters in description."); if(prize < 1 || prize > 5000000) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid prize amount."); new string[300], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); requestingevent[playerid] = 1; strmid(requestingtitle[playerid], title, 0, strlen(title)); strmid(requestinglocation[playerid], location, 0, strlen(location)); strmid(requestingdescription[playerid], description, 0, strlen(description)); requestingprize[playerid] = prize; strmid(requestingtime[playerid], time, 0, strlen(time)); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, "-------------------------------------------"); } } format(string, sizeof(string), "{FFFF00}Event %d has been requested, details are below.", playerid); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, string); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } format(string, sizeof(string), "{FFFF00}Event: %d Title: %s Location: %s Time: %s", playerid, title, location, time); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, string); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } format(string, sizeof(string), "{FFFF00}Organizer: %s Prize: $%s", name, Comma(prize)); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, string); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } format(string, sizeof(string), "{FFFF00}Description: %s", description); AICI E LINIA 33577 if(pInfo[playerid][pAdminLevel] < 5) SendClientMessage(playerid, 0xFFFFFFFF, string); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } format(string, sizeof(string), "{FFFF00}Use [/acceptevent %d] to accept this event.", playerid); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Your event is pending approval from an admin, please wait."); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } return 1; }
  12. (33577) : error 029: invalid expression, assumed zero (33577) : warning 215: expression has no effect (33577) : error 001: expected token: ";", but found "]" (33577) : error 029: invalid expression, assumed zero (33577) : fatal error 107: too many error messages on one line Aceleasi erori am pus pAdminLevel ca asa e, si e la fel.
  13. Am rezolvat acel cmd_e. Mai am doar linie alea 33577: if(pInfo[playerid][Adminlevel] < 5) SendClientMessage(playerid, 0xFFFFFFFF, string);
  14. Problema intalnita (descriere): Niste erori, nu stiu cum sa le rezolv.Ero(area / rile) / warning-(ul / urile):C:\Users\Warr007\Desktop\BETA Server SA-MP v0.1\gamemodes\bgd.pwn(33458) : error 021: symbol already defined: "cmd_e" (33577) : error 029: invalid expression, assumed zero (33577) : warning 215: expression has no effect (33577) : error 001: expected token: ";", but found "]" (33577) : error 029: invalid expression, assumed zero (33577) : fatal error 107: too many error messages on one lineLiniile de cod / sursa / script-ul(obligatoriu): La linia aia e : if(pInfo[playerid][Adminlevel] < 5) SendClientMessage(playerid, 0xFFFFFFFF, string); Este o comanda Imagini / Video (optional): -Ati incercat sa rezolvati singur?: Desigur m-am uitat peste script basic, am incercat sa modific cate ceva, dar nu mi-a reusit.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.