Jump to content

adv1337

Membru
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutru

About adv1337

  • Rank
    Membru

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @Koqs un discord, eventual sa vorbim in timp real, probleme peste probleme.
  2. Problema asta s-a rezolvat, comanda merge, totul e in regula si frumos, dar cand intru in obiect nu dispare, solutii? eventual discord pentru a vorbii in timp real
  3. Cum as putea sa dau update la include? Daca ma pot lamurii,te rog!
  4. Si ce as putea sa fac, incat sa ma poti lamuri?
  5. Cand comanda e activata cu toate define-urile da eroare la un alt define carr e totul inregula cu el, comanda asta e pe la linia 30k..
  6. \pawno\include\SW.inc(204) : error 001: expected token: ";", but found "if" EROAREA COD: CMD:oplace(playerid, params[], help) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu esti logat!"); if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_LIGHTGREEN3, AdminOnly); if(eventobjects > 9) return SCM(playerid, COLOR_WHITE,"You can't place more than 10 objects."); new objectid,prize,sendername[30],Float:pX,Float:pY,Float:pZ,string[128]; if(sscanf(params, "dd",objectid,prize)) { SendClientMessage(playerid, COLOR_WHITE,"{AB0000}Usage: {FFFFFF}/oplace <Object (Id object)> <Prize>"); SendClientMessage(playerid, COLOR_WHITE,"[OBJECTS] Cadou: 19054 - 19058 | Glob craciun: 19059 - 19063 | Oua paste: 19341 - 19345"); return 1; } if(prize < 1 || prize > 10000000) return SendClientMessage(playerid, COLOR_WHITE, "Prize must be between $1 and $10,000,000."); GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerPos(playerid,pX,pY,pZ); eventobjects++; objectevent[eventobjects] = CreatePickup(objectid, 1, pX+2,pY,pZ, -1); eventprizeobj[eventobjects] = prize; format(string,sizeof(string),"Admin %s[admin:%d] started an event. Object: %d, prize: $%s.",sendername,PlayerInfo[playerid][pSQLID],objectid,FormatNumber(prize)); ABroadCast(COLOR_RED2, string,1); Adminlog(string); return 1; }
  7. CMD:vre(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You need to login first."); if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_ERROR, "Nu ai gradul necesar ca sa folosesti aceasta comanda!"); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_ERROR, "You need to be in a vehicle."); new found = 0; for(new i = 0; i < sizeof(VehToDestroy) && found == 0; i++) { if(VehToDestroy == GetPlayerVehicleID(playerid)) { vDBID[ VehToDestroy ] = 0; DestroyVehicle(VehToDestroy); VehToDestroy = 1; found = 1; } } if(found == 0)SendClientMessage(playerid, COLOR_ERROR, "You can't destroy this vehicle."); return 1; } Can't destroy this car, si e masina simpla
  8. adv1337

    checkv

    enum cInfo { cID,
  9. adv1337

    checkv

    CMD:checkv(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first."); if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_LIGHTGREEN3, AdminOnly); new id,string[256],count; if(sscanf(params, "u",id)) return SendClientMessage(playerid, COLOR_GREY, "Syntax:{FFFFFF} /checkv [name/playerid]"); if(IsPlayerConnected(id)) { for(new v; v < MAX_PERSONAL_VEHICLES; v++) { if(PlayerInfo[id][cID][v] != 0) { format(string,sizeof(string),"[ID:%d] %s | age: %d | km: %.0f | colors: %d, %d",PlayerInfo[id][pCarID][v],aVehicleNames[PlayerInfo[id][pCarModel][v] - 400],GetDaysFromTimestamp(PlayerInfo[id][pCarBuyTime][v]),PlayerInfo[id][pCarKM][v],PlayerInfo[id][pCarColor1][v],PlayerInfo[id][pCarColor2][v]); SendClientMessage(playerid, COLOR_LIGHTGREEN3, string); count++; } } if(count == 0) return SendClientMessage(playerid, COLOR_WHITE, "This player don't have a vehicle spawned."); } return 1; } Urmatoarele Erori (24438) : error 029: invalid expression, assumed zero (24440) : warning 213: tag mismatch (24440) : error 001: expected token: ")", but found "[" (24440) : error 029: invalid expression, assumed zero (24440) : warning 215: expression has no effect (24440) : error 001: expected token: ";", but found "]" Linia 24440: if(PlayerInfo[id][cID][v] != 0) Linia 24438:for(new v; v < MAX_PERSONAL_VEHICLES; v++)
  10. Dupa ce new CanSpectate[MAX_PLAYERS]; eroare de mai sus
  11. 27031) : error 029: invalid expression, assumed zero ?
  12. Salut, la comanda /goto si /gethere vreau ca player-ul sa intre in masina automat, nu langa masina. Comanda /goto:https://pastebin.com/qHAX04z9 Comanda /gethere:https://pastebin.com/tQP4yZPN Multumesc Anticipat!
×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.