15.04.2012, 16:21
Sure,
OnPlayerCommandPerformed:
Command:
Screenshot:
Here you go!
OnPlayerCommandPerformed:
Код:
public OnPlayerCommandPerformed(playerid,cmdtext[],success) { if(!success) SendClientMessage(playerid,white,"Error message."); return 1; }
Код:
YCMD:test(playerid,params[],help) { #pragma unused params if(help) return SendClientMessage(playerid,white,"Blahblah !"); SendClientMessage(playerid,white,"Test message. You will receive some dosh !"); GivePlayerMoney(playerid,400); return 1; }
Here you go!