Jump to content

Question

Posted

Salut din nou :))

Deci am asa:(nu stiu daca e chiar bun)

new onquiz[MAX_PLAYERS];
public OnPlayerConnect(playerid)


{

onquiz[playerid]=0;
return 0
}
public OnPlayerText(playerid, text[])
{
 if(onquiz[playerid] == 1)
 {
 SendClientMessage(playerid,COLOR_RED,"test>> A:da B:nu");
 }
 if (!strcmp(text,"A",true))
 {
 SendClientMessage(playerid,COLOR_BLUE,"gresit");
 }
 else if (!strcmp(text,"B",true))
 {
 SendClientMessage(playerid,COLOR_BLUE,"corect");
 }
 }

Bun deci cum trebuie sa fac sa apara aces "quiz"la o comanda de ex /quiz

188.229.27.204:7777

Hai si tu !!!

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.