public OnPlayerCommandText(playerid, cmdtext[]) if (strcmp("/lichelp", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_YELLOW,"/buycarlic, /buyflylic, /buybikelic, /licenses"); return 1; } if (strcmp("/cellhelp", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_YELLOW,"/call, /hangup, /pickup, /SMS, /pb, /mpn, /ph"); return 1; }
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/lichelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_YELLOW,"/buycarlic, /buyflylic, /buybikelic, /licenses");
return 1;
}
if (strcmp("/cellhelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_YELLOW,"/call, /hangup, /pickup, /SMS, /pb, /mpn, /ph");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[]) if (strcmp("/lichelp", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_YELLOW,"/buycarlic, /buyflylic, /buybikelic, /licenses"); return 1; } if (strcmp("/cellhelp", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_YELLOW,"/call, /hangup, /pickup, /SMS, /pb, /mpn, /ph"); return 1; } }
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/lichelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_YELLOW,"/buycarlic, /buyflylic, /buybikelic, /licenses");
return 1;
}
if (strcmp("/cellhelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_YELLOW,"/call, /hangup, /pickup, /SMS, /pb, /mpn, /ph");
return 1;
}
return 0;
}
Originally Posted by Cabby
Many thanks Klutty! Now it works!
|