Započeo Ficek
•15. Jan. 2012.• Zaključano[pomoc] /aon text
491
pregleda
2
postova
Street Runner
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
21
Postovi:
6
Teme:
Pridružio se:Jan. 2012
15. Jan. 2012.
Skripta koju koristim: noxicus 0.3c
Detaljan opis problema: znaci meni /aon i /aoff rade ali ja zelim prebacit server u 0.3d a neznam kak i kada napisem /aon da mi se pokaze tekst iznad
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
nadam se da mi mozete pomoc za oboje
Detaljan opis problema: znaci meni /aon i /aoff rade ali ja zelim prebacit server u 0.3d a neznam kak i kada napisem /aon da mi se pokaze tekst iznad
Dio skripte:
CMD:aon(playerid, params[])
{
if(PlayerInfo >= 1 && GetPVarInt(playerid, "ADuty") == 0)
{
SetPVarInt(playerid, "ADuty", 1);
new sMsg[ 128 ];
GetPlayerName( playerid, sMsg, MAX_PLAYER_NAME );
//SetPlayerColor(playerid, 0xE30000FF);
D_SetPlayerHealth(playerid,200.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid, 0xE30000FF, "Sada si Admin On Duty !");
new Float:fa, Float:fy, Float:fu;
GetPlayerPos( playerid, fa, fy, fu );
playertextid = CreatePlayer3DTextLabel(playerid,"{FF0000}Admin na Duznosti!\n{FF6E6E}Ne ometaj!",0xE30000FF,fa,fy,fu,40.0, playerid);
//Attach3DTextLabelToPlayer(Text3D:playertextid, playerid, 0.0, 0.0, 0.0);
//DutyLabel = CreatePlayer3DTextLabel(playerid,"Admin na Duznosti \n Ne ometaj!", 0xE30000FF, 0.0, 0.0, 0.0, 25.0, INVALID_PLAYER_ID,INVALID_VEHICLE_ID,0);
}
return 1;
}
CMD:aoff(playerid, params[])
{
if(PlayerInfo >= 1 && GetPVarInt(playerid, "ADuty") == 1)
{
SetPVarInt(playerid, "ADuty", 0);
new sMsg[ 128 ];
GetPlayerName( playerid, sMsg, MAX_PLAYER_NAME );
SetPlayerColor(playerid, COLOR_WHITE);
D_SetPlayerHealth(playerid,100.0);
SetPlayerArmour(playerid,0.0);
SendClientMessage(playerid, 0xB30000FF, "Nisi vise Admin On Duty !");
DeletePlayer3DTextLabel(playerid, playertextid);
}
return 1;
}Neke slike/video za lakse dobivanje pomoci(neobavezno): //
nadam se da mi mozete pomoc za oboje
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava