-
Posts
422 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
News
Documentation
Posts posted by qSorin_
-
-
add pe discord: qsorin_
incearca sa imi dai pana in ora 20
-
14 hours ago, danuts said:
dai manzu daca vin scripter?
Pai manzu stie mai bine script decat tine
-
On 6/7/2023 at 2:11 PM, Micu_Gamer said:
Prima data mergem sub define uri si punem aceasta linie :
new message[256];
Acum, mergem la enum pInfo si pune urmatorul lucru :
pBonusTaken
Acum, vom face urmatoarea comanda /firsttime folosind ZCMD :
CMD:firsttime(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 6) { if(PlayerInfo[playerid][pBonusTaken] == 1) { SendClientMessage(playerid, 0xFFFFFFFF, "Ati revendicat deja bonusul."); return 1; } new randMoney = random(1000000, 1900000); new randPoints = random(20, 50); new randMats = random(1000, 5000); new randDrugs = random(500, 1000); GivePlayerCash(playerid, randMoney); PlayerInfo[playerid][pPremiumPoints] += randPoints; PlayerInfo[playerid][pMats] += randMats; PlayerInfo[playerid][pDrugs] += randDrugs; PlayerInfo[playerid][pBonusTaken] = 1; format(message, sizeof(message), "Felicitari! Ai primit $%d, %d Premium Points, %d Mats, and %d Drugs.", randMoney, randPoints, randMats, randDrugs); SendClientMessage(playerid, 0xFFFFFFFF, message); } else { new randMoney = random(1000000, 1900000); new randPoints = random(20, 50); new randMats = random(1000, 5000); new randDrugs = random(500, 1000); GivePlayerCash(playerid, randMoney); PlayerInfo[playerid][pPremiumPoints] += randPoints; PlayerInfo[playerid][pMats] += randMats; PlayerInfo[playerid][pDrugs] += randDrugs; format(message, sizeof(message), "Felicitari! Ai primit $%d, %d Premium Points, %d Mats, and %d Drugs.", randMoney, randPoints, randMats, randDrugs); SendClientMessage(playerid, 0xFFFFFFFF, message); } return 1; }
Sper că o să vă ajute!
Aici varianta mai ok!
```CMD:firsttime(playerid, params[]) {
if(PlayerInfo[playerid][pBonusTaken] && !PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, 0xFFFFFFFF, "Ati revendicat deja bonusul.");
new randMoney = random(1000000, 1900000), randPoints = random(20, 50), randMats = random(1000, 5000),randDrugs = random(500, 1000);GivePlayerCash(playerid, randMoney);
PlayerInfo[playerid][pPremiumPoints] += randPoints;
PlayerInfo[playerid][pMats] += randMats;
PlayerInfo[playerid][pDrugs] += randDrugs;
PlayerInfo[playerid][pBonusTaken] = 1;new message[128];
format(message, sizeof(message), "Felicitari! Ai primit $%d, %d Premium Points, %d Mats, and %d Drugs.", randMoney, randPoints, randMats, randDrugs);
return SendClientMessage(playerid, 0xFFFFFFFF, message);
}``` -
15 hours ago, AbivSA-MP said:
Nu mam crezut superior,nu mam crezut scripter am zis ca sunt incepator.
Dupa ce ti-am vazut activitatea pe acest forum pare ca esti unpic agitat. Mai iesi pe afara si recreeaza-te, prea mult samp in ultimul timp.
-
-
Buna ziua/seara, vin cu un anunt ca server ul old-times.ro cauta un fondator matur si care poate sa ajute financiar server ul. (webhost+panel si promovari, etc...).
Daca esti interesat ai discord ul meu sau al celuilalt fondator.
Fondator principal: InCuRaBiLᴸᴳ#0001
Scripter principal: qSorin_#1245
Server ul s-a deschis pe data de 19.02.2023 ora 20:00 si a avut 50 de jucatori online. S-au investit multi bani in promovari.
Cautam un alt fondator care poate sa ajute financiar, deoarece celalalt fondator a iesit din lipsa de timp. -
Revin si eu cu un reply asupra lui Razvy, de ce zici ca e comunitate neserioasa cand eu nu ti am acceptat insula facut de tine?
Ori esti mapper ori iti bati banana de noi. Eu sincer la cat sa:mp am jucat pe servere, n am vazut nici o insula plutitoare.
Sa nu te aud ca n ai facut ceva smk pentru ca nu erai platit. Daca dadeai dovada de seriozitate poate erai si platit. -
20 hours ago, Versace said:
up
-
REVIN CU UN UPDATE!
Server-ul se deschide pe data de 19.02.2023 (duminica ora 20:00).
Va asteptam pe discord, avem un giveaway activ cu 100pp la deschidere.
DISCORD: https://discord.gg/gy7kKTMKBq
-
-
-
-
Salut, numele meu este Sorin si am varsta de 18 ani. Astazi vreau sa fac o prezentare la serverul unde lucrez acum.
Info: Server-ul Old-Times este un server de tip RPG avand actiunea principala in oras-ul Los Santos, avand in total 11 locuri de munca si 14 factiuni.
Staff: Server-ul nostru dispune de un staff capabil si matur.
Fondator & Scripter: Fondatorii serverului Old-Times sunt SergiuNr1Adv, DNT si scripter-ul este qSorin_ (eu)
Avem un gamemode stabil cu multe sisteme frumoase, avem sisteme de "pet , payday upgrade, dropgift, hourgift, crates, jobul zilei 25%,stage,vip,vip plus" si multe sisteme frumoase.
FORUM: Forums - old-times.ro - forum
PANEL: Old-Times RPG - UCP
INDEX: Old-Times.ro - Index
Discord: https://discord.gg/gy7kKTMKBq
Deschiderea serverului Old-Times va avea loc saptamana viitoare. -
2 minutes ago, TheGodfather said:
Doar de la taskul acela face, cum am mentionat si in primul mesaj. Daca comentez taskul acela nu mai scad deloc tickuri cand sunt in masina si conduc.
probabil sa fie problema si de la YSI, incerca un update.
-
15 hours ago, TheGodfather said:
Am pus 500 pentru ca vreau sa se actualizeze la un interval mai mic de timp
probabil sa fie si de la host. daca nu incerca sa optimizezi gamemode ul. uita te la timere.
-
7 hours ago, TheGodfather said:
Salut, cand cineva se urca in masina si conduce, scad 5 tickuri. Stiu ca este de la taskul acesta pentru ca daca il comentez cu // si se urca cineva in masina si conduce nu mai scad tickuri.
task newspeed[500]() {
foreach(new i : Player) if(GetPlayerState(i) == PLAYER_STATE_DRIVER || GetPlayerState(i) == PLAYER_STATE_PASSENGER) Checkvehinfo2(i);
}function Checkvehinfo2(i) {
new str2[10], spe = Carspeed(GetPlayerVehicleID(i));
format(str2, sizeof(str2), "%s%d", spe < 100 ? ("~g~") : spe >= 150 ? ("~r~") : ("~y~"), spe);
PlayerTextDrawSetString(i, SpeedometerPTD[0], str2);
}SpeedometerPTD[0] = CreatePlayerTextDraw(playerid, 510.333801, 342.652039, "~g~0");
PlayerTextDrawLetterSize(playerid, SpeedometerPTD[0], 0.628332, 2.603848);
PlayerTextDrawTextSize(playerid, SpeedometerPTD[0], 1280.000000, 1280.000000);
PlayerTextDrawAlignment(playerid, SpeedometerPTD[0], 1);
PlayerTextDrawColor(playerid, SpeedometerPTD[0], 0xFFFFFFFF);
PlayerTextDrawUseBox(playerid, SpeedometerPTD[0], 0);
PlayerTextDrawBoxColor(playerid, SpeedometerPTD[0], 0x80808080);
PlayerTextDrawSetShadow(playerid, SpeedometerPTD[0], 1);
PlayerTextDrawSetOutline(playerid, SpeedometerPTD[0], 1);
PlayerTextDrawBackgroundColor(playerid, SpeedometerPTD[0], 0x00000083);
PlayerTextDrawFont(playerid, SpeedometerPTD[0], 3);
PlayerTextDrawSetProportional(playerid, SpeedometerPTD[0], 1);
PlayerTextDrawSetSelectable(playerid, SpeedometerPTD[0], 0);Foloseste iteratori daca vr un timer global. sau pur si simplu fa timer la fiecare player.
-
10 minutes ago, Smulyz said:
linia de cod
CMD:Fly(players, params[])
{
if(IsPlayerAdmin(playerid))
{
StartFly(playerid);
InitFly(playerid);
SendClientMessage(playerid, {f9f9f9}, "Ai activat FlyMode!");
}
else
{
SendClientMessage(playerid, {f9f9f9}, "Nu ai acces la aceasta comanda!");
}
return 1;
}
CMD:stopfly(playerid, paramsp[])
{
if(IsPlayerAdmin(playerid))
{
StopFly(playerid);
SendClientMessage(playerid, {f9f9f9}, "Ai dezactivat FlyMode!");
}
else
{
SendClientMessage(playerid, {f9f9f9}, "Nu ai acces la aceasta comanda!");
}
return 1;
}erori
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(313) : error 017: undefined symbol "playerid"; did you mean "players"?
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(315) : error 017: undefined symbol "playerid"; did you mean "players"?
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(316) : error 017: undefined symbol "playerid"; did you mean "players"?
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(317) : error 017: undefined symbol "playerid"; did you mean "players"?
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(321) : error 017: undefined symbol "playerid"; did you mean "players"?
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(330) : error 017: undefined symbol "f9f9f9"
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(334) : error 017: undefined symbol "f9f9f9"
Pawn compiler 3.10.10 Copyright (c) 1997-2006, ITB CompuPhase
Incearca asta:
CMD:fly(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xf9f9f9ff, "Nu ai acces la aceasta comanda!");
StartFly(playerid);
InitFly(playerid);
return SendClientMessage(playerid, 0xf9f9f9ff, "Ai activat FlyMode!");
}
CMD:stopfly(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xf9f9f9ff, "Nu ai acces la aceasta comanda!");
StopFly(playerid);
return SendClientMessage(playerid, 0xf9f9f9ff, "Ai dezactivat FlyMode!");
}- 1
-
Ai pus datele incorecte sau nu ai acces la acea baza de date.
-
32 minutes ago, tulb said:
si cum o pulsez?
pai plusezi variabila unde se stockeaza ora.
exemplu:
new hour;
gettime(hour, ..., ...);
hour ++; -
1 hour ago, tulb said:
ceasul de pe server indica ora gresita, mereu cu o ora in urma am incercat sa ii contactez si pe cei de la host si mi au zis ca totul este in regula idei?
Pai e simplu, daca ora nu este scazuta din gamemode atunci problema e de la host, au timezone ul pe alta tara, daca nu poti plusa tu ora.
-
-
3 hours ago, Zen RPG said:
Deci sa inteleg ca va trebuie in prost sa va faca gamemodeul gratis si el nu se aleaga cu nimic pentru orele depuse pentru munca?
Nu iti vad rostu sa ii mai comentezi la topic, odata ce e postat in Ianuarie, din Ianuarie pana in Iulie poate si-a gasit 4-5 prosti si si-a facut treaba.
App: nu a mai fost conectat pe forum de pe 18 Mai! -
Just now, TheGodfather said:
Nu merge, tot primesc aceeasi eroare si daca am 2 sau mai multe masini spawnate cu /spawncar despawneaza doar una
add pe discord qSorin_#1245
-
23 minutes ago, TheGodfather said:
up
YCMD:despawncars(playerid, params[], help) {
if(PlayerInfo[playerid][pAdmin] < 1) return SCMM(playerid, -1, AdminOnly);
foreach(new i : SpawnedCars) {
DestroyVehicle(i);
Iter_Remove(SpawnedCars, i);
SCMf(playerid, -1, "%d", i);
}
new string[100];
format(string, sizeof(string), "[/despawncars] {FFFFFF}Admin %s destroyed all spawned cars.", GetName(playerid));
if(GetPVarInt(playerid, "Cover") == 0) SendAdminMessage(COLOR_LIGHTGOLD, string, 1);
return true;
}
Fac sisteme contra cost
in Caut servicii / partener / etc.
Posted
Nu ii mai luati pita de la bot, lasati-l sa ia si el niste cash de la copii astia care isi fac server de sa:mp fara pic de cunostinta in domeniu.