Jump to content

ArTix.

Membru
  • Posts

    11
  • Joined

  • Last visited

Everything posted by ArTix.

  1. am pus == dar am uitat sa dau edit ... si cica trebe sa sterg o virgula sau ceva de genu`.
  2. Respect @Mister ( Baiat de treaba ai si +1 de la mine acum ), Ba Jummpy esti chiar n0b smr.
  3. II n0b + e tepar. Adica chiar asa "O sa am nevoie de datele forumului" pai man nu poti sa ii faci prin Ammy Admin sau TW 10,11 sau fara instalare ???
  4. Salut SA-MP Romania, am revenit cu o alta problema. Dupa ce am terminat cu systemele ( login / register / engine / AdminCMD / AdminWarnning / Comenzi [sscanf2 si zcmd] ) am inceput sa fac systeme de joburi si cand sa fac: Poza: http://imgur.com/a/w7GxF Erorile: new.pwn(297) : error 028: invalid subscript (not an array or too many subscripts): "TaietorJob" new.pwn(297) : warning 215: expression has no effect new.pwn(297) : error 001: expected token: ";", but found "]" new.pwn(297) : error 029: invalid expression, assumed zero new.pwn(297) : fatal error 107: too many error messages on one line Liniile (Linia) : 297 public OnPlayerEnterCheckpoint(playerid) { if(TaietorJob[playerid] = 1) { DisablePlayerCheckpoint(playerid); TaietorJob[playerid] = 2; SetPlayerCheckpoint(playerid, 773.2032,-1242.4979,13.1317, 5.0); GivePlayerMoney(playerid, 1002); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai primit suma de bani: {FF0000}1002 $!"); return 1; + mai urmeaza inca multe .. dar am pus doar una. Cine ma ajuta are +1.
  5. Salut din nou SA:MP Romania astazi am o problema: >>>> Deci as vrea sa schimb Ped-ul de la sv meu de samp.. am cautat pe google si nu am gasit ... Acesta este ped-ul defaul: >> Si eu vreau sa fie gen asa: >>>>> Cine ma ajuta are +1 .
  6. Gata am rezolvat trebuia sa pun >>>> if(sscanf(params, "ud", targetid, adminlevel)) return SCM(playerid,0xFFFFFF, "{FFFFFF}Syntax: {FFFFFF}/makeadmin <PlayerID> <Admin Level>"); Dupa 2 min mi-am dat seama ce ai spus Ai +1 la toate comentarile tale + postari . Cer T/C
  7. DaedRic e bine asa - if(sscanf(params, "du", adminlevel, targetid)) return SCM(playerid,0xFFFFFFFF, "{FFFFFF}Syntax: {FFFFFF}/makeadmin <PlayerID> <Admin Level>");
  8. Pai ai incercat sa te loghezi / inregistrezi pe server-ul de SA:MP ( localhost ) ??? Daca te loghezi / inregistrezi cred ca o sa iti apara ... daca ai conectat baza de date la panel
  9. Salut SA:MP romania, astazi am sa va rog daca ma puteti ajuta cu o comanda ( care nu functioneaza ). Acest server este no mysql, mai multe detalii >>>>>>>>> Am sa pun 2 videoclipuri : #1 - #2 - Comanda este aici >> CMD:makeadmin(playerid, params[]) { new adminlevel, targetid, numeT[24], numeP[24], string[150]; if(sscanf(params, "ud", adminlevel, targetid)) return SCM(playerid,0xFFFFFFFF, "{FFFFFF}Syntax: {FFFFFF}/makeadmin <PlayerID> <Admin Level>"); if(adminlevel < 0 || adminlevel > 8) return SCM(playerid, -1, "{008BC7}Eroare: {ffffff}Nivelul maxim ca admin este 7."); if (PlayerInfo[playerid][pAdmin] >= 6) { if(IsPlayerConnected(targetid)) { if(targetid != INVALID_PLAYER_ID) { if(adminlevel > 0) { GetPlayerName(targetid, numeT, sizeof(numeT)); GetPlayerName(playerid, numeP, sizeof(numeP)); PlayerInfo[targetid][pAdmin] = adminlevel; printf("AdmCmd: %s l-a promovat pe %s la admin level %d.", numeP, numeT, adminlevel); if(adminlevel > PlayerInfo[targetid][pAdmin]) { format(string, sizeof(string), "Felicitari! Administratorul %s te-a promovat, iar acum esti administrator de nivel %d!",numeP, adminlevel); } else format(string, sizeof(string), "Administratorul %s te-a retrogradat in functie, iar acum esti administrator de nivel %d!",numeP, adminlevel); SendClientMessage(targetid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "Ai modificat functia detinuta de %s. Acum, %s are administrator de nivel %d.", numeT, numeT, adminlevel); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } else { GetPlayerName(targetid, numeT, sizeof(numeT)); GetPlayerName(playerid, numeP, sizeof(numeP)); PlayerInfo[targetid][pAdmin] = adminlevel; printf("AdmCmd: %s i-a scos functia de admin lui %s.", numeP, numeT, adminlevel); format(string, sizeof(string), "Din pacate, %s ti-a scos functia de administrator.", numeP); SendClientMessage(targetid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "I-ai scos functia de administrator lui %s.", numeT); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } } else SendClientMessage(playerid, -1, "{008BC7}Info: {ffffff}Jucatorul specificat nu este conectat."); } else SendClientMessage(playerid, -1, AdminOnly); return 1; }
×
×
  • 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.