01.04.2009, 03:55
ok when making script commands do i have to um ...put this again or what
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xAA3333AA,"Test command"); // Do something here
return 1;
}
return 0;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xAA3333AA,"Test command"); // Do something here
return 1;
}
return 0;
}