[Pomoc] Kazna


Započeo LoOdaK, Februar 16, 2014, 22:02:49 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Edit od SS:RP
Detaljan opis problema:Pa nije problem nezz kako napraviti komandu recimo vlasnik ukuca /kazna i igraca stavi u prison oduzme mu 500k oduzme 2 lvl-a i da bude tamo 2 sata ali naseg pravog vremena
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Blaeks

*

Madmen

zcmd + sscanf2, i pored toga mu samo postavis varijable  za zatvor, koje imas definisane, i uz funkciju GivePlayerMoney mu oduzmes novac

U redu sve sam dobro uradio osim jednoga za oduzimanje levela.Ja budem 21 lvl i kada sebe zatvorim ja na TAB kad ono pise -2 a ne 19 Kako to da napravim evo funkcije

PlayerInfo[giveplayerid][pLevel] =- 2;
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Blaeks

*

Madmen

PlayerInfo[giveplayerid][pLevel] -= 2;

Ne radi isto
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



GetPlayerInfo[giveplayerid][pLevel]  -= 2;

Ma kakvi nista
EDIT:Sredio sam sam priklopite
Poslednja Izmena: Februar 17, 2014, 20:25:19 POSLE PODNE od Boki Boki
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!