Mihail.[]
-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by Mihail.[]
-
-
Fara sa le scot , cum as rezolva problema
de la textdraw
new s[228]; format(s, 228, "+ %.0f HP to %s(%d) using %s", amount, GetName(damagedid), damagedid, GetWeaponNameEx(weaponid)); PlayerTextDrawSetString(playerid, GiveDamage[playerid], s); PlayerTextDrawShow(playerid, GiveDamage[playerid]); SetTimerEx("HideDamageTD", 2000, false, "i", playerid); format(s, 228, "- %.0f HP from %s(%d) using %s", amount, GetName(playerid), playerid, GetWeaponNameEx(weaponid)); PlayerTextDrawSetString(damagedid, TakeDamage[playerid], s); PlayerTextDrawShow(damagedid, TakeDamage[playerid]); SetTimerEx("HideDamageTD", 2000, false, "i", damagedid); SetPlayerChatBubble(damagedid, s, 0xE81010FF, 100.0, 2000);
-
De ce pica sv in prostie ba de la textdraw cu gamage indicator ba de o comanda etc ce pot face sa nu mai pice?
-
Up cei care voi posta nume comunitati +1 au
-
Salut, îmi puteți da și mie un nume de comunitate , nu prea am imaginație , la ce m-am gândit este luat.
-
Poziţie: scripter
Alte detalii: Caut o persoana care sa fie experimentata in tot ce consta crearea unui server de sa-mp (poate sa fie si de la 0 sau poate sa editeze gm-ul care este deja pe server).Vrem sa realizam ceva serios, de aceea vreau pe cineva matur (15-16+ cel putin) care are ambitie si stie ce face.
Stim ca nimeni nu lucreaza pe gratis, asa ca va putem oferi urmatoarele (aveti de ales, chiar daca majoritatea vor tinti la a doua varianta):
- grad pe forum in functie de serviciile oferite
- plata (bani reali) in functie de munca pe care o depuneti
Ca sa ma fac clar , mai explic inca o data:
- host avem (nu trebuie achizitionat de voi);
- avem nevoie de un gm cat mai original care sa atraga playeri;
- cel mai important, vrem seriozitate si ambitie.
Astept 'aplicatiile' voastre sau daca aveti intrebari le puteti adresa mai jos.
Detalii in legatura cu comunitatea le veti primi dupa ce veti vorbi cu mine si cu inca cineva pentru a ne cunoaste mai bine si pentru a sti cu ce fel de oameni lucram.
-
Cum pot adauga la comanda asta o animatie de a deschide o cutie si o cutie , si dupa ce primesti premium sa nu mai fie animatia si cutia
CMD:opencase(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pCase] >= 1) { if(PlayerInfo[playerid][pKeyCase] >= 1) { new cadou = random(12)+2; ApplyAnimation(playerid,"CARRY","crry_prtial",4.0,1,0,0,1,1,1); if(cadou == 1) { new amount1; amount1 = 10000 + random(10000); GivePlayerCash(playerid, amount1); Update(playerid, pCashx); new amount2; amount2 = 1 + random(1); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [$%s]",name,FormatNumber(amount1),FormatNumber(amount2)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); GameTextForPlayer(playerid, "~r~Ghinion", 5000, 1); return 1; } if(cadou == 2) { new amount3; amount3 = 20000 + random(10000); GivePlayerCash(playerid, amount3); Update(playerid, pCashx); new amount4; amount4 = 2 + random(2); PlayerInfo[playerid][pExp] += amount4; Update(playerid, pRP); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [$%s si %s respect points]",name,FormatNumber(amount3),FormatNumber(amount4)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return 1; } if(cadou == 3) { new amount5; amount5 = 4000 + random(20000); GivePlayerCash(playerid, amount5); Update(playerid, pCashx); new amount6; amount6 = 1 + random(1); PlayerInfo[playerid][pHiddenColor] += amount6; Update(playerid, pHiddenColorx); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [$%s si %s hidden points]",name,FormatNumber(amount5),FormatNumber(amount6)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); GameTextForPlayer(playerid, "~g~Noroc", 5000, 1); return 1; } if(cadou == 4) { new amount7; amount7 = 50000 + random(15000); GivePlayerCash(playerid, amount7); Update(playerid, pCashx); new amount8; amount8 = 1 + random(3); PlayerInfo[playerid][pRob] += amount8; Update(playerid, pRobx); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [$%s si %s rob points]",name,FormatNumber(amount7),FormatNumber(amount8)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); GameTextForPlayer(playerid, "~r~Ghinion", 5000, 1); return 1; } if(cadou == 5) { new amount9; amount9 = 40000 + random(50000); GivePlayerCash(playerid, amount9); Update(playerid, pCashx); new amount10; amount10 = 1 + random(2); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [$%s]",name,FormatNumber(amount9),FormatNumber(amount10)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); GameTextForPlayer(playerid, "~y~Briliant", 5000, 1); return 1; } if(cadou == 6) { new amount1; amount1 = 20000 + random(70000); GivePlayerCash(playerid, amount1); Update(playerid, pCashx); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [$%s]",name,FormatNumber(amount1)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); GameTextForPlayer(playerid, "~y~Briliant", 5000, 1); return 1; } if(cadou == 7) { new amount2; amount2 = 2 + random(2); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [Nimic]",name,FormatNumber(amount2)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); return 1; } if(cadou == 8) { new amount10; amount10 = 5000 + random(50000); GivePlayerCash(playerid, amount10); Update(playerid, pCashx); new amount22; amount22 = 1 + random(2); PlayerInfo[playerid][pExp] += amount22; Update(playerid, pRP); new amount33; amount33 = 2 + random(2); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [$%s, %s respect points]",name,FormatNumber(amount10),FormatNumber(amount22),FormatNumber(amount33)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); GameTextForPlayer(playerid, "~b~Moderat", 5000, 1); return 1; } if(cadou == 9) { new amount11; amount11 = 5000 + random(50000); GivePlayerCash(playerid, amount11); Update(playerid, pCashx); new amount23; amount23 = 1 + random(3); PlayerInfo[playerid][pRob] += amount23; Update(playerid, pRobx); PlayerInfo[playerid][pCase] -= 1; PlayerInfo[playerid][pKeyCase] -= 1; Update(playerid, pCasex); Update(playerid, pKeyCasex); new gift[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(gift, sizeof(gift),"* %s a a deschis o cutie si a primit! [$%s si %s rob points]",name,FormatNumber(amount11),FormatNumber(amount23)); ProxDetector(10.0, playerid, gift,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); GameTextForPlayer(playerid, "~b~Moderat", 5000, 1); return 1; } } else { SCM(playerid, -1, "Nu detii o cheie!"); return 1; } } else { SCM(playerid, -1, "Nu detii o cutie!"); return 1; } } return 1; }
-
Salut, de ce pe gm bigzone cand il pun pe host nu imi araa house/biz ele sunt acolo dar nu arata icon proprietar si etc.
-
Nu a mers vrei sa vorbim in privat ? ca sa ma ajuti? Am făcut ca in tutorial vrei sa vorbim in privat despre problema asta?
-
Am pus tot nu mia dat eror la aia cu nume sub mapa si nu imi arata numele
-
C:\Users\Mihail\Desktop\GM.pwn(18798) : error 017: undefined symbol "FPSOn"
C:\Users\Mihail\Desktop\GM.pwn(18798) : warning 215: expression has no effect
C:\Users\Mihail\Desktop\GM.pwn(18798) : error 001: expected token: ";", but found "]"
C:\Users\Mihail\Desktop\GM.pwn(18798) : error 029: invalid expression, assumed zeroam luat cu fps de aici
-
Add skype anechitei.mihail1 daca vrei sa ma ajuti, raman dator!
Pica sv
in Suport Servere
Posted
up