Jump to content

Question

Posted

Salut, am mutat un GM pe zcmd si sscanf, si mi`a venit o problama :D

Cand scriu portable si de exemplu cand scriu order, tot acel text imi apare cu

[pawn]|___ Hitman Agency ___|");

| - News");

| - Contracts");

| - Givehit");

| - Backup");

| - Order");

| - Ranks");

|______________|");[/pawn]

Ei bine eu am facut cand scriu /portable sa`mi apara acest text intr-un dialog_style_input si aici m`am blocat, cum fac ca atunci cand scriu in casuta news,contract... etc sa apara ca si inainte sa pun zcmd? Adica sa apara frumos membrii, rankurile s.a. Va rog frumos help me.

3 answers to this question

Recommended Posts

Posted

Fa ceva de genu

[pawn]if(strcmp(inputtext,"Text"))[/pawn]

Dar mai bine faci in dialog style list sau enumeri categoriile acelea si ii pui sa aleaga

1, 2, 3... si faci asa

[pawn]if( inputtext[0] == '1'[/pawn]

[pawn]if( inputtext[0] == '2'[/pawn]

Titlu!

gXvsYS
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.