06.09.2009, 04:21
I got some problems cant make any commands on my GM, tried in different ways and still have erros
lets take a simple command
When i compile it gives me ERROS
2 problem When im tryin to make command in 2nd way its jst doesn't work, when i type it >server say Unknow command
simple command
lets take a simple command
Код:
if(strcmp(cmd, "/handsup", true) == 0)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
return 1;
}
Код:
invalid function or declaration invalid function or declaration
simple command
Код:
dcmd_kill1(playerid, cmdtext[]) {
#pragma unused cmdtext
SetPlayerHealth( playerid, 20 );
return 1;
}

