Jump to content
  • 0

bug?


dreamer

Question

Salut sa-mp.ro  :grin:

Am si eu o problema

Am un sistem de Reactie (cine tasteaza primul x castiga y....)

Si la

public OnPlayerText am si id pentru player ( [DevilOne]DreameR [glow=orange,2,300](1)[/glow]: text )

Si nu functioneaza, prima data le aveam pe amandoua in gm (ID-ul si reactiile), si nu functiona ID-ul

Acum am bagat id-ul in LuxAdmin (si imi arata id dar nu merg reactiile)


Script reactii

ID:

    new string[128];
    format(string,sizeof(string),"{F81414}(%d) {B7FF00}%s", playerid, text);
    SendPlayerMessageToAll(playerid, string);
   SetPlayerChatBubble(playerid, text, 0x00e4ffAA, 100.0, 10000);

76561198055981270.png

http://devilgaming.ro/forum

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

incearca sa schimbi la linia:

format(string,sizeof(string),"{F81414}(%d) {B7FF00}%s", playerid, text);
in:
format(string,sizeof(string),"{F81414}(%d) {B7FF00}%s", PID, text);

si acolo langa new string[ 128 ], PID; //PID semnifica id-ul jucatorului si vezi daca merge!

Fara reclama in semnatura!

Link to comment
Share on other sites

incearca sa schimbi la linia:

format(string,sizeof(string),"{F81414}(%d) {B7FF00}%s", playerid, text);
in:
format(string,sizeof(string),"{F81414}(%d) {B7FF00}%s", PID, text);

si acolo langa new string[ 128 ], PID; //PID semnifica id-ul jucatorului si vezi daca merge!

Tu gandesti cand incerci sa ajuti ?

Arata-ne OnPlayerText din LuxAdmin si din GM. Ce nu arata ? ID-ul sau nu merge testul de reactie ? Daca nu arata ID-ul, iar ID-ul este in LuxAdmin, fa ca OnPlayerText din GM sa returneze 1.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.