19.09.2009, 21:14
dcmd_block(playerid, params[])
{
new string[128];
if (sscanf(params, "s", string))
{
SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/block <block name>\"");
Block[playerid] == string;
}
return 1;
}
thats a bit of formatting help but i dont understand why you would want to set it as a string
{
new string[128];
if (sscanf(params, "s", string))
{
SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/block <block name>\"");
Block[playerid] == string;
}
return 1;
}
thats a bit of formatting help but i dont understand why you would want to set it as a string