15.05.2012, 18:32
Remember that you are only using strcmp commands on OnPlayerCommandText and it returns 0 in the end. Like this:-
As I've observed people are mostly using DINI or YINI, you can find such systems in the forum here are the links of such tutorials:-
1. dini: https://sampforum.blast.hk/showthread.php?tid=234691
2. yini: https://sampforum.blast.hk/showthread.php?tid=273088
-FalconX
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0; // this return 0
}
1. dini: https://sampforum.blast.hk/showthread.php?tid=234691
2. yini: https://sampforum.blast.hk/showthread.php?tid=273088
-FalconX