Wysłany: 2013-03-31, 15:40
adalus1995
Wiek: 31 Na forum: 4893 dni Posty: 102
Piwa : 2
Siema, mam prosbe kolejn? co zrobi? aby wyskoczy?o graczowi kt?remu wpisze sie /lizak [1 np] To te id zamiast dostawac wiadomo?ci na ekranie (ann) tylko
Na czacie czyli te sendmessageclient. Prosze o pomoc.
Wysłany: 2013-03-31, 15:47
Wafelowski
Wiek: 29 Na forum: 5347 dni Posty: 428
Piwa : 100
Nie rozumie? twojego j?zyka... Wyt?umacz ja?niej bo nic z tego nie zrozumia?em.
Wysłany: 2013-03-31, 15:51
WiX
Wiek: 28 Na forum: 5241 dni Posty: 48
Nick w MP: thedamiano
Piwa : 21
Koledze chodzi chyba, ?e jak jest na truck wy?wietla si? GameTextForPlayer to chce ten tekst na czacie czyli na SendClientMessage.
Je?eli tak to podaj linijki odpowiadaj?ce za komunikat.
Wysłany: 2013-03-31, 15:53
FullClip
Wiek: 29 Na forum: 5797 dni Posty: 82
Nick w MP: Raiden
Piwa : 350
Kod: SendClientMessage(playerid, kolor, "tresc");
Zamie? na to GameTextForPlayer.
Wysłany: 2013-03-31, 15:54
WiX
Wiek: 28 Na forum: 5241 dni Posty: 48
Nick w MP: thedamiano
Piwa : 21
"FullClip" napisał/a : Kod: SendClientMessage(playerid, kolor, "tresc");
Zamie? na to GameTextForPlayer.
On chce na odwr?t. z GameTextForPlayer na SendClientMessage.
Wysłany: 2013-03-31, 15:56
FullClip
Wiek: 29 Na forum: 5797 dni Posty: 82
Nick w MP: Raiden
Piwa : 350
"WiX" napisał/a : "FullClip" napisał/a : Kod: SendClientMessage(playerid, kolor, "tresc");
Zamie? na to GameTextForPlayer.
On chce na odwr?t. z GameTextForPlayer na SendClientMessage.
Nie przeczyta?e? dok?adnie..
"Zamie? na to GameTextForPlayer."
NA TO, nie TO NA.
Wysłany: 2013-03-31, 16:15
WiX
Wiek: 28 Na forum: 5241 dni Posty: 48
Nick w MP: thedamiano
Piwa : 21
"FullClip" napisał/a : "WiX" napisał/a : "FullClip" napisał/a : Kod: SendClientMessage(playerid, kolor, "tresc");
Zamie? na to GameTextForPlayer.
On chce na odwr?t. z GameTextForPlayer na SendClientMessage.
Nie przeczyta?e? dok?adnie..
"Zamie? na to GameTextForPlayer."
NA TO, nie TO NA.
Nie, nie nie
Kod: To te id[b] zamiast dostawac wiadomo?ci na ekranie (ann)[/b] tylko
Na czacie czyli te sendmessageclient.
Wysłany: 2013-03-31, 16:29
FullClip
Wiek: 29 Na forum: 5797 dni Posty: 82
Nick w MP: Raiden
Piwa : 350
"WiX" napisał/a : "FullClip" napisał/a : "WiX" napisał/a : "FullClip" napisał/a : Kod: SendClientMessage(playerid, kolor, "tresc");
Zamie? na to GameTextForPlayer.
On chce na odwr?t. z GameTextForPlayer na SendClientMessage.
Nie przeczyta?e? dok?adnie..
"Zamie? na to GameTextForPlayer."
NA TO, nie TO NA.
Nie, nie nie
Kod: To te id[b] zamiast dostawac wiadomo?ci na ekranie (ann)[/b] tylko
Na czacie czyli te sendmessageclient.
Jego ci??ko jest zrozumie?, ale czemu wcze?niej napisa?e?, ?e chodzi?o mu ozamian? GameText na SendClientMessage, a teraz piszesz, ?e odwrotnie?
Wysłany: 2013-03-31, 16:58
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Poka? nam komend? i dorobimy rozwi?zanie do twojego kodu
Wysłany: 2013-03-31, 20:09
adalus1995
Wiek: 31 Na forum: 4893 dni Posty: 102
Piwa : 2
Kod: if(strcmp(cmd, "/lizak", true) == 0)
if(gTeam[playerid] == TEAM_POLICJA)
{
new tmp[256];
new tmp2[256];
new msg[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_BLUE, "AS: /lizak [ID]");
}else{
if(!IsPlayerConnected(strval(tmp)))
{
SendClientMessage(playerid, COLOR_ADMIN, "Z?e ID gracza");
}
format(tmp2,sizeof(tmp2),"~b~Policja! ~w~Zjedz na pobocze i zgas silnik!",msg);
GameTextForPlayer(strval(tmp),tmp2,3000,3);
}
return 2;
}
Wysłany: 2013-03-31, 20:24
Wafelowski
Wiek: 29 Na forum: 5347 dni Posty: 428
Piwa : 100
Kod: if(strcmp(cmd, "/lizak", true) == 0)
if(gTeam[playerid] == TEAM_POLICJA)
{
new tmp[256];
new tmp2[256];
new msg[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_BLUE, "AS: /lizak [ID]");
}else{
if(!IsPlayerConnected(strval(tmp)))
{
SendClientMessage(playerid, COLOR_ADMIN, "Z?e ID gracza");
}
format(tmp2,sizeof(tmp2),"{00CCFF}Policja! {FFFFFF}Zjedz na pobocze i zgas silnik!",msg);
SendClientMessage(strval(tmp), -1,tmp2);
}
return 2;
}
Tagi: sendmessage
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: