Salomon-X
Wiek: 34 Na forum: 5509 dni Posty: 4
Nick w MP: Pablo_Verto
Piwa : 60
Witam, mam problem i g?owie si? jak go rozwi?za?, stworzy?em ID nicku w czacie ale mam problem, ot?? wyskakuj? mi podw?jne wiadomo?ci typu:
Jaro(ID 1):elo
Jaro:elo
to troche brzydzi gamemod, prosz? o pomoc
Tutaj da?em ca?y public OnPlayerText(playerid, text[])
Kod: public OnPlayerText(playerid, text[])
{
new str[128];
if(IsPlayerAdmin(playerid))
format(str, sizeof str, "(ID: %d) (Admin): %s", playerid, text);
else
format(str, sizeof str, "(ID: %d) (Gracz): %s", playerid, text);
SendPlayerMessageToAll(playerid, str);
switch(xTestBusy)
{
case true:
{
if(!strcmp(xChars, text, false))
{
new
string[128],
pName[MAX_PLAYER_NAME]
;
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "« \%s\" Wygra? test reakci!. »", pName);
SendClientMessageToAll(zielony, string);
format(string, sizeof(string), "« Zarobi?e? $%d + %d respektu »", xCash, xScore);
SendClientMessage(playerid, zielony, string);
GivePlayerMoney(playerid, xCash);
SetPlayerScore(playerid, GetPlayerScore(playerid) + xScore);
xReactionTimer = SetTimer("xReactionTest", TIME, 1);
xTestBusy = false;
}
}
}
return 1;
}