lgaming 0 Odesláno: 6. Prosinec, 2014 Share Odesláno: 6. Prosinec, 2014 Dobry den potrebujem pomoc s tymto ... ked zadam /cmds Tak mi to napise SERVER:Unknown command #include <a_samp> #define dcmd(%1,%2,%3) if((strcmp((%3)[1],#%1,true,(%2))==0)&&((((%3)[(%2)+1]==0)&&(dcmd_%1(playerid,"")))||(((%3)[(%2)+1]==32)&&(dcmd_%1(playerid,(%3)[(%2)+2]))))) return 1 #define Dialog_NoEffect 1000 public OnPlayerCommandText(playerid, cmdtext[]) { if(IsPlayerConnected(playerid)) { dcmd(cmds,6,cmdtext); } return 1; } dcmd_cmds(playerid, params[]) { #pragma unused params if(IsPlayerConnected(playerid)) { ShowPlayerDialog(playerid,Dialog_NoEffect,DIALOG_STYLE_MSGBOX, "{ffff00}Prikazy", "{ffff70}/handsup\n/sit\n/lay\n/wave\n/chat\n/dance\n/usephone\n/endphone", "Cancel", ""); } return 1; } Dakujem Link to comment Share on other sites More sharing options...
0 vladasavel 26 Odesláno: 6. Prosinec, 2014 Share Odesláno: 6. Prosinec, 2014 dcmd(cmds,4,cmdtext); Link to comment Share on other sites More sharing options...
0 Lusky 4 Odesláno: 6. Prosinec, 2014 Share Odesláno: 6. Prosinec, 2014 Vymaž tú podmienku IsPlayerConnected. public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(cmds,6,cmdtext); return 1; } Link to comment Share on other sites More sharing options...
0 lgaming 0 Odesláno: 6. Prosinec, 2014 Author Share Odesláno: 6. Prosinec, 2014 dakujem chalani Link to comment Share on other sites More sharing options...
Dotaz
lgaming 0
Dobry den potrebujem pomoc s tymto ... ked zadam /cmds
Tak mi to napise SERVER:Unknown command
Link to comment
Share on other sites
3 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now