Jump to content

Otiy

Membru
  • Posts

    94
  • Joined

  • Last visited

    Never

Everything posted by Otiy

  1. Cum fac comanda ban/warn pentru o anumita peroada de timp? Adica sa scriu /tempban si sa baneze pe cineva pentru o perioada de timp pusa de admin si la warn la fel
  2. Cum fac ca sa pun id la masinile pers? Adica sa fie dupa id-ul 293 cum fac?
  3. Da dar gm cum il fac sa mearga pt 0.3d? Si tot ce e in include sterg si bag ce e in 0.3d?
  4. Cum fac ca gm si pluginurile si toate sa fie compatibile cu 0.3d?
  5. Pai am niste porti la FBI. Si cand dau click se deschide dar nu se mai inchide. Si daca ma duc la pd si dau click se deschide si dupa ce se inchide si poarta de la PD se inchide se cea de la FBI
  6. Am si eu o problema cu o bariera la FBI la sediun din lv si odata ba nu se inchidea. Decat daca se inchidea si poarta de la serdiu pd din ls. Odata se deschidea si inchidea dar erau 2 bariere. Cine ma poate ajuta?
  7. Am si eu o problema la server cand dau /suspect apare prima data ca are wanted 0 si cand are wanted 1 si dau /wanted nu apare nimic decat la wanted 2 cum rezolv?
  8. Salut am si eu o problema. Atunci cand dau pay arata la toti asa "You have recieved %d$ from %s(ID: %d)." codul este: [pawn] if(strcmp(cmd, "/pay", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /pay [playerid/PartOfName] [amount]"); return 1; } //giveplayerid = strval(tmp); giveplayerid = ReturnUser(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /pay [playerid/PartOfName] [amount]"); return 1; } moneys = strval(tmp); if(moneys > 1000 && PlayerInfo[playerid][pLevel] < 3) { SendClientMessage(playerid, COLOR_GRAD1, "You must have level 3 to send money over 1.000"); return 1; } if(moneys < 1 || moneys > 50000) { SendClientMessage(playerid, COLOR_GRAD1, "Dont go below 1, or above 50.000 at once."); return 1; } if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pLocal] == 106) { SendClientMessage(playerid, COLOR_GRAD1, "Command not allowed in this location"); return 1; } if (ProxDetectorS(5.0, playerid, giveplayerid)) { if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, " You can not pay for yourself !"); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); playermoney = GetPlayerCash(playerid); if (moneys > 0 && playermoney >= moneys) { //ConsumingMoney[giveplayerid] = 1; if(paytime[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD2, "You can /pay once at 30 seconds.!"); GivePlayerCash(playerid, (0 - moneys)); GivePlayerCash(giveplayerid, moneys); format(string, sizeof(string), "* You have sent %s(player: %d), $%d.", giveplayer,giveplayerid, moneys); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "You have recieved %d$ from %s(ID: %d).", moneys, sendername, playerid); SendClientMessage(giveplayerid, COLOR_WHITE, string); /*format(string, sizeof(string), "%s has paid $%d to %s", sendername, moneys, giveplayer);*/ PayLog(string); paytime[playerid] = 1; SetTimerEx("pay", 1, 0, "%d", playerid); if(moneys >= 1) { ABroadCast(COLOR_LIGHTRED,string,1); } PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "* %s takes out some cash, and hands it to %s.", sendername ,giveplayer); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ApplyAnimation(playerid,"DEALER","shop_pay",4.1,0,0,0,0,0); } else { SendClientMessage(playerid, COLOR_GRAD1, " Invalid transaction amount."); } } else { SendClientMessage(playerid, COLOR_GRAD1, " Your too far away."); } }//invalid id } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; }[/pawn]
  9. Salut. Vreau sa fac si eu o comanda /enter sa poate sa intrea doar paterno family in HQ. Acum intra cine vrea in HQ Paterno cum fac? Codul este: [pawn] else if (PlayerToPointStripped(1, playerid,2637.3591,2351.8416,10.8203, cx,cy,cz)) { //Paterno Family HQ if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) { SetPlayerPos(playerid, 1205.0803,-9.9519,1000.9219); GameTextForPlayer(playerid, "~w~The Paterno Family HQ",5000,1); SetPlayerInterior(playerid,2); SetPlayerFacingAngle(playerid, 1); PlayerInfo[playerid][pInt] = 2; } else if(hqlock[iolock] == 0) { SetPlayerPos(playerid, 1205.0803,-9.9519,1000.9219); GameTextForPlayer(playerid, "~w~The Paterno Family HQ",5000,1); SetPlayerInterior(playerid,2); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 2; } else { GameTextForPlayer(playerid, "~r~Locked",5000,1); } }[/pawn]
  10. cum ca ad sa fie la CNN sa fie setat de proprietar setat cat e pretul la ad si altele. codul este [pawn] if(strcmp(cmd, "/advertise", true) == 0 || strcmp(cmd, "/ad", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !"); return 1; } if(PlayerInfo[playerid][pLevel] < 3) { SendClientMessage(playerid, COLOR_GREY, " You have to be level 3 to use this function !"); return 1; } if(!IsAtADPlace(playerid)) { SendClientMessage(playerid, COLOR_GREY, " You are not at CNN Studio !"); return 1; } 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++; } for(new i=0; i<MAX_PLAYERS; i++) if(FindIP(result)) /// { new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); SendClientMessageToAll(COLOR_LIGHTGREEN, " "); format(string, sizeof(string), "[Warning]: %s[iD: %d] face reclama ",advertiser,i); ABroadCast(COLOR_LIGHTRED,string,1); return 0; } result[idx - offset] = EOS; result[0] = toupper(result[0]); if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/ad)vertise [advert text]"); return 1; } if ((!adds) && (PlayerInfo[playerid][pAdmin] < 1)) { format(string, sizeof(string), " Please try again later %d seconds between Advertisements !", (addtimer/1000)); SendClientMessage(playerid, COLOR_GRAD2, string); return 1; } new payout = idx * 25; if(GetPlayerCash(playerid) < payout) { format(string, sizeof(string), "* You used %d characters which cost $%d, you don't have enough.", offset, payout); SendClientMessage(playerid, COLOR_WHITE, string); return 1; } GivePlayerCash(playerid, - payout); SBizzInfo[7][sbTill] += payout; ExtortionSBiz(7, payout); format(string, sizeof(string), "[AD] %s, Contact: %s Phone: {FFFFFF}%d", result, sendername,PlayerInfo[playerid][pPnumber]); OOCNews(TEAM_GROVE_COLOR,string); format(string, sizeof(string), "~r~Paid $%d~n~~w~Message contained: %d Characters", payout, idx); GameTextForPlayer(playerid, string, 5000, 1); if (PlayerInfo[playerid][pAdmin] < 1){SetTimer("AddsOn", addtimer, 0);adds = 0;} } return 1; }[/pawn]
  11. [pawn]PlayerInfo[RepairOffer[playerid]][pPayCheck] += RepairPrice[playerid] * 5;[/pawn] aici cum fac sa primeasca bani direct nu la payday
  12. // Player Class's for(new i = 0; i <= sizeof(Peds)-1; i++) { AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1); } ce fac aici?
  13. cum fac sa schimb skinu la server?
  14. Cum fac sa modific paydaY ca da ff putin da 900$ si eu vreau sa pun mai mult si daca faci un checkpoint scrie Added to your paycheck cum fac sa fie alt fel ca la b-zone de ex
  15. Am facut si asta dar tot asa arata
  16. Am si eu o prob nu pot schimba mapa ea apre LS SF si eu din gm am schimbat-o in LS LV dc? apare la fel am datg si copatible
  17. Cum scor cashbox am un gm care are are cashbox va rog ajutatima
  18. Otiy

    Problema pawon

    Am rezolvat trebuia la plugin sa adaug .so dar acum nu mai porneste host server dc?
  19. Pai poate merge dar daca intru nu citeste gm:|
  20. Si cum le vad? EDIT: Am pus si tot asa apare dc? stuntman's edit: Data viitoare foloseste butonul modify.
  21. NU merge gm zice unknown ce fac? http://img853.imageshack.us/img853/9277/unledazr.png
×
×
  • 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.