29.09.2013, 13:38
Heey all,
I am using includes for my gamemode and i need OnPlayerCommand twice for an include.
So tried this:
But i have error:
So is there anyway to make this to work?
Admigo
I am using includes for my gamemode and i need OnPlayerCommand twice for an include.
So tried this:
Код:
//include
Command_Account(playerid, cmdtext[])
{
dcmd(changepass,10,cmdtext);
dcmd(report,6,cmdtext);
return 1;
}
//gamemode
public OnPlayerCommand(playerid,cmdtext[])
{
Command_Account(playerid,cmdtext[]);
return 1;
}
Код:
error 029: invalid expression, assumed zero
Admigo


