Jump to content

ValyYouTube

Membru
  • Posts

    175
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by ValyYouTube

  1. THx vezi ca mai am unul mysql r39 este de inceput
  2. Salutare sa-mp.ro astazi vreau sa va prezint un gamemode la care am lucrat f mult,nu l-am facut de la zero,am facut un edit. Am adaugat /ah pe dialog,/hh pe dialog ,skin langa minimap ,system /neon, bonus,multe multe altele Va las pe voi sa descoperiti. +1 Ar fi de folos. Poze: http://imgur.com/a/rR76Y Gamemode: http://www119.zippyshare.com/v/loy6KDsd/file.html
  3. Salutare astazi m-am gadit sa va postez un gamemode mysql de inceput. Este facut de mine. Sper sa va foloseasca,este doar baza. http://www.fileshare.ro/e3172636017 Virus total: https://www.virustotal.com/en/file/0a67f0c7de3da3e03b9552324e99699f9c95294fb1feda44ebdf5027c2798a9b/analysis/1501772698/ +1 Mi-ar fi de folos.
  4. eu vreau am sv poftim skpyeul meu vali.valentin232 si numele de sus este Valy are 50 de sloturi raspundemi repede daca poti
  5. bravo insfarsit cineva cu creatie proprie felicitari 10/10
  6. Cu palcere mutumesc ca macar tu imi apreciezi munca
  7. Utati aceasta este imaginea cum ma refer si cand un admin seteaza skinul sau isi cumpara un skin sa ii se schimbe skinul care la setat adminul sau la cumparat acolo jos
  8. CMD:getgift(playerid) { if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "You must be logged in to do this."); GetObjectPos(giftboxobject, giftPos[0], giftPos[1], giftPos[2]); if(IsPlayerInRangeOfPoint(playerid, 5.0, giftPos[0], giftPos[1], giftPos[2]) && giftboxcreated == 1) { RandomGift(playerid); } if (GiftTakenTime[playerid] > gettime()) { return SendClientMessage(playerid, -1, "Ai luat deja cadoul, revin-o mai tarziu."); } GiftTakenTime[playerid] = gettime() + 86400; return 1; }
  9. tot al pot lua de cate ori vreau pota dau de cate ori vreau nu conteaza apare doar mesajul ai luat cadoul.... si pot sa dau de cate ori vreau cum o pot face
  10. 0 Quote Edit Quote this astea le pun la comanda /getgift ?
  11. ma ajuti cu ceva intra aici 

     

    1. WopsS

      WopsS

      L-am mutat la Ajutor Scripting si ti-am raspuns.

  12. Salut am o problema la/ getgift poti sa dai de cate ori vrei iar eu vreau sa o fac sa poti da odata la o zi cine ma poate ajuta? #include <a_samp> #include <streamer> #include <sscanf2> #include <zcmd> #define COLOR_YELLOW 0xFFFFFFC8 #define COLOR_RED 0xFF0000C8 #define MAX_RANDOM_GIFTS 4 public OnFilterScriptInit() { return 1; } #pragma tabsize 0 stock RandomGift(playerid) { new randomgift = random(MAX_RANDOM_GIFTS) + 1; switch (randomgift) { case 1: { GivePlayerMoney(playerid, 500000); SendClientMessage(playerid, COLOR_YELLOW, "Ai primt de la gift 500000$!"); } case 2: { GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_YELLOW, "Ai primit de la gift 10000$!"); } case 3: { SetPlayerScore(playerid, 4); SendClientMessage(playerid, COLOR_YELLOW, "Ai primit level up +4"); } case 4: { SendClientMessage(playerid, COLOR_YELLOW, "Nu ai primit nimic!imi pare rau."); } } return 1; } new Float:giftPos[4]; new giftboxobject; new giftboxcreated = 0; new Text3D:giftbox3DText; CMD:giftbox(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You are not an admin!"); if (isnull(params)) { SendClientMessage(playerid, -1, "/giftbox [Option]"); SendClientMessage(playerid, COLOR_YELLOW, "[OPTIONS]: place, destroy"); return 1; } static Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); if (!strcmp(params, "place", true)) { if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "You must be outside vehicle first."); if(giftboxcreated == 1) return SendClientMessage(playerid, COLOR_RED, "Giftbox is already placed."); giftPos[0] = X; giftPos[1] = Y; giftPos[2] = Z; giftboxcreated = 1; giftboxobject = CreateDynamicObject(19054, X, Y, Z - 0.4, 0.0, 0.0, A); giftbox3DText = CreateDynamic3DTextLabel("/getgift\nTo get your gift.",0x10F441AA,X, Y, Z+0.25,8.0); SendClientMessage(playerid, -1, "You have placed a giftbox"); return 1; } if (!strcmp(params, "destroy", true)) { if(giftboxcreated == 0) return SendClientMessage(playerid, COLOR_RED, "Giftbox is not placed yet."); DestroyDynamicObject(giftboxobject); DestroyDynamic3DTextLabel(giftbox3DText); giftboxcreated = 0; SendClientMessage(playerid, -1, "You have destoryed the giftbox"); return 1; } return 1; } CMD:getgift(playerid) { if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "You must be logged in to do this."); GetObjectPos(giftboxobject, giftPos[0], giftPos[1], giftPos[2]); if(IsPlayerInRangeOfPoint(playerid, 5.0, giftPos[0], giftPos[1], giftPos[2]) && giftboxcreated == 1) { RandomGift(playerid); } return 1; }
  13. Salut am si eu o problema la getgift daca dai /getgift poti sa dai de cate ori vrei si eu vreau sa poti da doar o data la 0 1 zi ma puteti ajuta va las poze cu scriptul?
  14. da, nu ma prea pricep am incercat pe mysql dar nu am reusit p.s sunt incepaotr am cateva luni, de scripting
  15. Ce este cu eroarea aceasta si cum pot sa o repar
×
×
  • 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.