Započeo William Johnson
•19. Avg. 2011.[Pomoc] /heo /gmo i /ao
518
pregleda
2
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
88
Postovi:
27
Teme:
Pridružio se:Jul 2011
19. Avg. 2011.
Skripta koju koristim: Street stories edit..
Detaljan opis problema: Znaci ja kad idem /heo nedodje uopce ooc chat nista se ne pokaze :SS Molim pomoc komanda je dole,, a /heo je komanda za head admin ooc
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Detaljan opis problema: Znaci ja kad idem /heo nedodje uopce ooc chat nista se ne pokaze :SS Molim pomoc komanda je dole,, a /heo je komanda za head admin ooc
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
if(strcmp(cmd, "/heo", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo >= 1338)
{
if(gPlayerLogged == 0)
{
SendClientMessage(playerid, COLOR_GREY, "Nisi logiran.");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: /heo ");
return 1;
}
format(string, sizeof(string), "{00B4FF}(( {00B4FF} {00B4FF}%s: {FFFFFF}%s {00B4FF})) ", sendername, result);
OOCOff(COLOR_LIGHTGREEN,string);
printf("%s", string);
}
}
return 1;
}Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
123
Postovi:
9
Teme:
Pridružio se:Jul 2010
19. Avg. 2011.
komplikujes previse
evo ovako sam ja sebi napravio
public OnPlayerText(playerid, text[])
{
if(text == '@' && if(PlayerInfo >= 1 {
new string; GetPlayerName(playerid,string,sizeof(string));
if(PlayerInfo == 133😎
{
format(string,sizeof(string),"{0000CC}HEAD{CC0000} %s:{00FFCC} %s",string,text); SendClientMessageToAll(green,string);
}
return 0;
}
Ovo sendclent message mozes kako hoces stavljati...boje itd
dakle
u igri upises @ text
i izbaci ti
HEAD Ime_Prezime : Text
sve u boji zasebno
ako hoces da imas i za ostale admine...javi mi napravicu ti
evo ovako sam ja sebi napravio
public OnPlayerText(playerid, text[])
{
if(text == '@' && if(PlayerInfo >= 1 {
new string; GetPlayerName(playerid,string,sizeof(string));
if(PlayerInfo == 133😎
{
format(string,sizeof(string),"{0000CC}HEAD{CC0000} %s:{00FFCC} %s",string,text); SendClientMessageToAll(green,string);
}
return 0;
}
Ovo sendclent message mozes kako hoces stavljati...boje itd
dakle
u igri upises @ text
i izbaci ti
HEAD Ime_Prezime : Text
sve u boji zasebno
ako hoces da imas i za ostale admine...javi mi napravicu ti
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava