25.01.2013, 10:16
Suppose I set a PVar string of a player, "hello" as "test", so can I in some way retrieve it and make it into a command?
For example,
I know this would create a command called st, but is there a way it could make a command named 'test' as the value of st is 'test'?
I really need this. For generating commands based on user input. I thought about pointers, *p, but still the command would be CMD, totally useless.
For example,
pawn Код:
new st[10];
GetPVarString(playerid,"hello",st,10);
CMD:st(playerid)
//....
I really need this. For generating commands based on user input. I thought about pointers, *p, but still the command would be CMD, totally useless.