-
Posts
92 -
Joined
-
Last visited
-
Days Won
1
Everything posted by wien
-
pomanaaa
-
bn
-
ok
-
Salut, cum pot sa adaug deelay la comanda asta? Aici e comanda, si am si la onplayercheckpoint YCMD:startmission(playerid, params[], help) { if(PlayerInfo[playerid][pMissionFinish] == 1) return SCM(playerid, COLOR_LGREEN, "Ai facut deja misiunea."); missionsDeelay[playerid] = gettime() + 86400; // asa setezi if(missionsDeelay[playerid] > gettime()) return SCMEx(playerid, -1, "Asteapta %d secunde pentru a face misiunile din nou.", missionsDeelay[playerid] - gettime()); if(PlayerInfo[playerid][pLevel] < 3) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu ai level 3."); if(PlayerInfo[playerid][pBoatLic] == 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai nevoie de licenta de barca pentru a incepe quest-ul."); if(StartMission[playerid] != 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai inceput deja misiunea."); if(IsPlayerInRangeOfPoint(playerid, 10, 162.2594,2470.6362,16.4780) == 0) return SCM(playerid, -1, "Nu esti la locul de unde poti incepe misiunea. Foloseste /gps -> Mission Place"); if(PlayerToPoint(10, playerid, 162.2594,2470.6362,16.4780)) { new string[350]; format(string, sizeof(string), "(Mission) Deoarece ai inceput misiunea ai fost transportat intr-un alt VW. Trebuie sa o ajuti pe mama lui Carl deoarece e grav ranita."); SCM(playerid, COLOR_GREY, string); SetPlayerVirtualWorld(playerid, 1); CP[playerid] = 99; SetPlayerCheckpoint(playerid, 155.0384,2416.2817,17.3963, 1.5); ActorMisiune1 = CreateActor(9, 155.0554,2416.4827,17.3843, -1); SetActorInvulnerable(ActorMisiune1, true); SetActorVirtualWorld(ActorMisiune1, 1); ApplyActorAnimation(ActorMisiune1, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); } return true; } // onenterplayercheckpoint else if(CP[playerid] == 99) { new i = playerid; CP[playerid] = 0; ApplyAnimation(playerid, "MEDIC","CPR",4.1,0,1,0,1,1); format(gString, sizeof(gString), "Deoarece ai ajutat-o pe mama lui Carl ai primit 1.500.000$, 30 Premium Points"); SCM(playerid, COLOR_YELLOW, gString); format(gString, sizeof(gString), "(( {31d6e4}Mission{A9C4E4} - %s a terminat misiunea si a primit premiul special. ))", GetName(i)); SCMTA(COLOR_CLIENT, gString); GameTextForPlayer(playerid, "mission passed~n~~w~ valoare +", 3000, 4); GivePlayerMoney(playerid, 1500000); PlayerInfo[pPremiumPoints] += 30; Update(i, pCashx); Update(i, pPremiumPointsx); DisablePlayerCheckpoint(playerid); SetPlayerVirtualWorld(playerid, 0); }
-
Salut, cum pot sa adaug timer la comanda asta? Am facut cu gettime, dar de aici nu mai stiu cum sa progresez, ma puteti ajuta? YCMD:startmission(playerid, params[], help) { if(PlayerInfo[playerid][pMissionFinish] == 1) return SCM(playerid, COLOR_LGREEN, "Ai facut deja misiunea."); missionsDeelay[playerid] = gettime() + 86400; // asa setezi if(missionsDeelay[playerid] > gettime()) return SCMEx(playerid, -1, "Asteapta %d secunde pentru a face misiunile din nou.", missionsDeelay[playerid] - gettime()); if(PlayerInfo[playerid][pLevel] < 3) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu ai level 3."); if(PlayerInfo[playerid][pBoatLic] == 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai nevoie de licenta de barca pentru a incepe quest-ul."); if(StartMission[playerid] != 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai inceput deja misiunea."); if(IsPlayerInRangeOfPoint(playerid, 10, 162.2594,2470.6362,16.4780) == 0) return SCM(playerid, -1, "Nu esti la locul de unde poti incepe misiunea. Foloseste /gps -> Mission Place"); if(PlayerToPoint(10, playerid, 162.2594,2470.6362,16.4780)) { new string[350]; format(string, sizeof(string), "(Mission) Deoarece ai inceput misiunea ai fost transportat intr-un alt VW. Trebuie sa o ajuti pe mama lui Carl deoarece e grav ranita."); SCM(playerid, COLOR_GREY, string); SetPlayerVirtualWorld(playerid, 1); CP[playerid] = 99; SetPlayerCheckpoint(playerid, 155.0384,2416.2817,17.3963, 1.5); ActorMisiune1 = CreateActor(9, 155.0554,2416.4827,17.3843, -1); SetActorInvulnerable(ActorMisiune1, true); SetActorVirtualWorld(ActorMisiune1, 1); ApplyActorAnimation(ActorMisiune1, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); } return true; }
-
Ti-am dat mesaj, raspunde.
-
Incearca sa adaugi asta if(IsACop(playerid)) { if(PlayerToPoint(15, playerid,1588.6552, -1637.9025, 15.0358)) { MoveObject(gatelspd,1596.7352,-1637.9025, 15.0358,2); SetTimer("lspdgateclose" ,9000 ,false); return true; } if(PlayerToPoint(15, playerid,135.2833, 1941.3331, 21.6932)) { MoveObject(gateng,122.0023, 1941.4100, 21.6932,2); SetTimer("nggateclose" ,9000 ,false); return true; } if(PlayerToPoint(15, playerid,1544.7007, -1630.7527, 13.2983)) { MoveObject(lspdbar,1544.7007, -1630.7527, 13.2983,1,0.0000, 0.0000, 90.0000); SetTimer("lspdbarclose" ,9000 ,false); return true; } if(PlayerToPoint(15, playerid,2293.8513, 2497.67554, 4.53215)) { MoveDynamicObject(gatelvpd[0], 2293.8513, 2497.6755, -2, 5.0); SetTimerEx("LVPDGates", 5000, false, "i", 1); return true; } if(PlayerToPoint(15, playerid,2335.2009, 2443.6992, 1.8997)) { MoveDynamicObject(gatelvpd[1], 2335.2009, 2443.6992, 1.8997, 5.0); SetTimerEx("LVPDGates", 5000, false, "i", 2); return true; } if(PlayerToPoint(15, playerid, 2238.2146, 2450.2695, 10.6961)) { MoveDynamicObject(gatelvpd[2], 2238.21460, 2450.26953, 10.69610, 1, 0.00000, 0.00000, 90.00000); SetTimerEx("LVPDGates", 5000, false, "i", 3); return true; } }
-
Ai pus un numar invalid, daca tot ne dai poza, da-ne-o si tu mai clara.
-
m,
-
Sistem de boti * Cel ce creaca inca il are Pro-Gaming *
wien replied to Mariusik's topic in Programe & alte fișiere
bn -
https://wiki.sa-mp.com/wiki/Server.cfg, aici aici tot ce tine de server.cfg, personal iti recomand sa dezactivezi 'ackslimit'
-
Exact cum a spus si Lok3d, seteaza corect dimensiunea (o poti face cu ipleomax)
-
ok
-
mss
-
ok
ABOUT LEAKS COMMUNITY
LEAKS.RO is a resource community where aspiring webmasters can share content and receive support for a wide variety of software platforms — no license required.