Jump to content

mR.KerigaN

Membru
  • Posts

    25
  • Joined

  • Last visited

    Never

mR.KerigaN's Achievements

Contributor

Contributor (5/14)

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

Recent Badges

0

Reputation

  1. if(AdminDuty[damagedid] == 1 || HelperDuty[damagedid] == 1) { new Float:playerHealth = 0; GetPlayerHealth ( playerid, playerHealth ); SetPlayerHealth(playerid, ( playerHealth - 35.0 ) ); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Nu ai voie sa ataci un admin / helper on duty !"); SendClientMessage(playerid,COLOR_LIGHTRED,"Ai primit -15 HP !"); } Pui asta la OnPlayerGiveDamage
  2. Nume: mR.KerigaN Nume tutorial: Super V.I.P Descriere:Comanda: /makesvip1,/makesvip2,/makesvip3,/makesvip4 la /makesvip1 sa iti dea Deagle 150 gloante(sa nu dispara la respawn) /makesvip2 Deagle 200 gloante+Mp5 150 Gloante(sa nu dispara la respawn) /makesvip3 Deagle 200 gloante+Mp5 200 gloante+M4 150 gloante(sa nu dispara la respawn) /makesvip4 Deagle 200gl+M4 200 gl+Sniper 20 glonate(sa nu dispara la respawn)
  3. while ((idx < length) && cmdtext[idx] <= ' ')) Imi da eroare..invalid expresion assumed zero
  4. Nume: mR.KerigaN Nume tutorial: Arme pe rank Descriere: la toate gangurile la rank 1 sa dea arma Deagle cu gloante 100 La rank 2 sa dea Deagle gloante 150 si Mp5 gloante 100 La rank 3 sa dea deagle 200 si m4 100 gloante La rank 4 sa dea M4 150 gloante mp5 100 gloante si deagle 150 gloante La rank 5 sa dea M4 150 gloante mp5 150 gloante si deagle 150 gloante Rank 6 sa dea M4 200gloante mp5 200 gloante si deagle 200gloante
  5. Nick: mR.KerigaN Problema: am un dealership...creeze masina incerc sa o parchez si nu imi parcheaza masina..si lafel si la buy ma urc in ia dau buy si nu mi-o cumpara.. ajutati-ma va rog Erori / warnings: - Lini/script: - Ai incercat sa rezolvi singur ?: Da
  6. //----------------------------------------------------------------------------------------------------- if(strcmp(cmd, "/bonustrivia", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_GREY,"# Level 1 # - 25 correct answers - 100.000$ + 5 respect points."); SendClientMessage(playerid, COLOR_GREY,"# Level 2 # - 50 corrent answers - 150.000$ + 10 respect points."); SendClientMessage(playerid, COLOR_GREY,"# Level 3 # - 100 correct answers - 300.000$ + 20 respect points."); SendClientMessage(playerid, COLOR_GREY,"# Level 4 # - 200 correct answers - 1.000.000$ + 50 respect points."); new triviarewards = PlayerInfo[playerid][TriviaReward]; if(PlayerInfo[playerid][TriviaSkill] == 0) { SendClientMessage(playerid, COLOR_YELLOW2,"** You are level 1 **"); format(string, 256 ,"* Correct answers [%d/25] *", triviarewards); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(PlayerInfo[playerid][TriviaSkill] == 1) { SendClientMessage(playerid, COLOR_YELLOW2,"** You are level 2 **"); format(string, 256 ,"* Correct answers [%d/50] *", triviarewards); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(PlayerInfo[playerid][TriviaSkill] == 2) { SendClientMessage(playerid, COLOR_YELLOW2,"** You are level 3 **"); format(string, 256 ,"* Correct answers [%d/100] *", triviarewards); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } if(PlayerInfo[playerid][TriviaSkill] == 3) { SendClientMessage(playerid, COLOR_YELLOW2,"** You are level 4 **"); format(string, 256 ,"* Correct answers [%d/200] *", triviarewards); SendClientMessage(playerid, COLOR_LIGHTRED, string); return 1; } } return 1; }
  7. mR.KerigaN

    Ajutor

    Nick: mR.KerigaN Problema: la comanda /bonustrivia cand raspund corect nu imi seteaza pe 1/25 2/25 si asa mai deaparte ramane 0/25 Erori / warnings: Nu imi da erori Lini/script: - Ai incercat sa rezolvi singur ?: Da
  8. Nick: mR.KerigaN Problema: Tag Mismatch Erori / warnings:C:\Users\C.I.P\Desktop\Reclame\PRONION\GodFather.pwn(51750) : warning 213: tag mismatch Lini/script: if(PlayerInfo[playerid][pGift] == 1) { SendClientMessage(playerid, COLOR_GREY, "You don`t have a gift. "); return 1; } if ( premiu == 0 ) { PlayerInfo[playerid][pPills] += 150; PlayerInfo[playerid][pGift] = 1; SendClientMessage(playerid, 0xFF0033FF, "» Gift: {FFFFFF}Felicitari ai castigat 150 Pills."); SaveAccounts(); OnPlayerUpdateEx(playerid); } Ai incercat sa rezolvi singur ?: Da
  9. Nume: mR.KerigaN Nume tutorial: /jobs Descriere: cand dai /jobs sa iti apara un dialog cu urmatoarele joburi 1.Detectiv || 2.Lawyer || 3.Whore || 4.Drug Dealer || 5. Car Jacker || 6.Car Mechanic || 7.BodyGuard || 8.Arm Dealer || 9.Car Dealer || 10.Boxer || 11.Paper Boy || 12.Trucker || 13.Farmer || 14.Garbage Collector si cand le selectezi sa iti dea jobul
  10. Nick: mR.KerigaN Problema: am o problema la comanda /hac care repara toate masinile dupa server cand dau /hac repara doar masinile care sunt conduse Erori / warnings: nu imi da erori Lini/script: if(strcmp(cmd, "/hac", true) == 0 ||strcmp(cmd, "/hac", true) == 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(IsPlayerConnected(playerid)) { if(AdminDuty[playerid] == 1 && PlayerInfo[playerid][pAdmin] >= 1||HelperDuty[playerid] == 1 && PlayerInfo[playerid][pHelper] >= 2 ) { //format(string, sizeof(string), "{FFFFFF}Admin{FF9900} %s {FFFFFF}has repair all cars.", sendername); //SendClientMessageToAll(0xFF7171FF, string); new Float:x, Float:y, Float:z; GetPlayerPos(playerid,x,y,z); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i)) { if(IsPlayerInRangeOfPoint(i, 30000000000000000000000000000000000000000000000000000000000, x, y, z)) { RepairCar = GetPlayerVehicleID(i); SetVehicleHealth(i, 1000.0); RepairVehicle(RepairCar); format(string, sizeof(string), "{FF0000} %s {FFFFFF}repaired all cars.", sendername); SendClientMessage(i,0xFF7171FF, string); } } } } else { SendClientMessage(playerid, COLOR_RED, "Nu esti Helper/Admin on Duty!"); } } else { SendClientMessage(playerid, COLOR_RED, "You Must be logged in to use this command!"); } return 1; } Ai incercat sa rezolvi singur ?: Da
  11. Nick: mR.KerigaN Problema: am bagat comanda /makect sa imi dea arme si skin de politist si cand dau /makect imi da armele dar nu si skinul.. Erori / warnings: nu imi da erori.. Lini/script: if(strcmp(cmd, "/makect", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}Foloseste{FFFFFF}: /makect [playerid/PartOfName]"); return 1; } giveplayerid = ReturnUser(tmp); if (PlayerInfo[playerid][pAdmin] >= 1) { if(IsPlayerConnected(playerid)) { if(playerid != INVALID_PLAYER_ID) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); new nameee[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, nameee, sizeof(nameee)); GivePlayerWeapon(giveplayerid, 24, 999); GivePlayerWeapon(giveplayerid, 29, 999); GivePlayerWeapon(giveplayerid, 31, 999); GivePlayerWeapon(giveplayerid, 16, 5); SetPlayerHealth(giveplayerid, 500); SetPlayerArmour(giveplayerid, 100); SetPlayerSkin(giveplayerid, 287); format(string, 128, "{0080FF}AdmWarning: {FF8000}[%d]%s {FFFFFF}i-a dat MAKET lui {FF8000}[%d]%s. (/maket)",playerid,name,giveplayerid,nameee); ABroadCast(COLOR_YELLOW,string,5); } } } else { SendClientMessage(playerid, COLOR_GRAD1, "Nu esti autorizat!"); } } return 1; } Ai incercat sa rezolvi singur ?: Da
  12. Imi da eroare C:\Users\C.I.P\Desktop\New folder\gamemodes\grandlarc.pwn(14) : fatal error 100: cannot read from file: "YSI/y_ini" linia #include <YSI/y_ini>
  13. Nick: mR.KerigaN Problema: comanda /startduel Erori / warnings: (48065) error 029: invalid expression, assumed zero ||| (48065)error 029: invalid expression, assumed zero Lini/script: CMD:startduel(playerid, params[]) // test fiind numele comenzii { SendClientMessage(playerid, COLOR_WHITE, "Numaratoarea inversa a fost declansata."); CountDownTimer = SetTimer("CountDown", 1000, false); // false inseamna ca nu se va mai repeta, insa daca vreti sa se repete, folositi true. return 1; } Ai incercat sa rezolvi singur ?: da..
  14. Nick: mR.KerigaN Problema: Erori / warnings: C:\Users\C.I.P\Desktop\Reclame\X-ARENA\gamemodes\gtamp.pwn(54836) : error 029: invalid expression, assumed zero C:\Users\C.I.P\Desktop\Reclame\X-ARENA\gamemodes\gtamp.pwn(54836) : error 029: invalid expression, assumed zero C:\Users\C.I.P\Desktop\Reclame\X-ARENA\gamemodes\gtamp.pwn(54836) : warning 215: expression has no effect C:\Users\C.I.P\Desktop\Reclame\X-ARENA\gamemodes\gtamp.pwn(54837) : error 029: invalid expression, assumed zero Lini/script: GetPlayerPos(playerid, X,Y,Z); new carid = CreateVehicle(car, X,Y,Z, 0.0, color1, color2, 60000); CreatedCars[CreatedCar] = carid; CreatedCar ++; Ai incercat sa rezolvi singur ?: da...
×
×
  • 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.