28.07.2010, 11:03
You'll have to write them in your script.
For the people who don't know how OnPlayerCommandText works, here it is:
'cmdtext' is the string that contain whatever the player typed.
Now what actually everybody is calling 'making a command' is this (An example of the /kill command):
What you're actually doing is checking if the value of cmdtext is equal to '/kill'.
So back on topic: You must put em in yourself.
For the people who don't know how OnPlayerCommandText works, here it is:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
Now what actually everybody is calling 'making a command' is this (An example of the /kill command):
pawn Код:
if(!strcmp(cmdtext,"/kill",true))
{
SetPlayerHealth(playerid,0);
return 1;
}
So back on topic: You must put em in yourself.