09.07.2009, 16:39
Code:
[code#include <a_samp> #include <dini> #include <dutils> #define FILTERSCRIPT #if defined FILTERSCRIPT public OnPlayerCommandText(playerid,cmdtext[]){ if(!strcmp("/b ",cmdtext,true,3)){ if(cmdtext[3]){ OnPlayerText(playerid,cmdtext[3]); }else SendClientMessage(playerid,0xFF0000FF,"Usage:/b [text]"); return true; } return false; } #endif
Code:
C:\Program Files\Rockstar Games\SOCRoleplay\filterscripts\b.pwn(8) : error 004: function "OnPlayerText" is not implemented