21.07.2015, 14:25
Hello!
Yes, it is possible.
You have to create a global variable:
Now, you can save 100 Commands (so the params) for each user.
Do you know how you save this?
Here is a solution:
- Mencent
Quote:
I need something like rawrs[MAX_PLAYERS][100] is this possible? anyone?
|
You have to create a global variable:
PHP код:
new AllCommands[MAX_PLAYERS][100];
Do you know how you save this?
Here is a solution:
PHP код:
//in the command
for(new i;i<100;i++)
{
if(strlen(AllCommands[playerid][i]) > 0)continue;
format(AllCommands[playerid][i],128,params);
break;
}