19.09.2009, 21:11
Hey lads n lassies, so i've started to script a bit again, and now i need cho help...
I'm trying to create a variable, and that variable is the Players text after /block <the blocks name>...
I don't know how to do the Block[playerid] == string; thing...
Help a bird out here
I'm trying to create a variable, and that variable is the Players text after /block <the blocks name>...
pawn Код:
dcmd_block(playerid, params[])
{
new
string[128];
if (sscanf(params, "s", string)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/block <block name>\"");
{
Block[playerid] == string;
}
return 1;
}
Help a bird out here