05.11.2009, 08:11
Download and install zcmd include.
In script:
In script:
pawn Код:
#include <zcmd> //at the top
//copy and paste sscanf function and givescore command somewhere in your script (outside any callback!)
//for example
public OnPlayerCommandText(playerid, cmdtext[]) // < callback
{
//you probably have something here
return 0;
}
//paste sscanf and givescore command here