Shitbird in need of a simple hand.
#2

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
Reply


Messages In This Thread
Shitbird in need of a simple hand. - by shitbird - 19.09.2009, 21:11
Re: Shitbird in need of a simple hand. - by brett7 - 19.09.2009, 21:14
Re: Shitbird in need of a simple hand. :( - by shitbird - 19.09.2009, 21:20
Re: Shitbird in need of a simple hand. - by Annihalation - 19.09.2009, 22:01
Re: Shitbird in need of a simple hand. - by shitbird - 19.09.2009, 22:05
Re: Shitbird in need of a simple hand. - by shitbird - 19.09.2009, 22:31

Forum Jump:


Users browsing this thread: 1 Guest(s)