/addhouse command help
#1

I have created some of /addhouse command but I really dont know what to do next

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/addhouse", cmdtext) == 0)
{
new name[128], price, Float:FX,Float:FY,Float:FZ;
if(sscanf(params, "s[128]d",price,name)) SendClientMessage(playerid, COLOR_GREY, "Usage: /addhouse [price] [name]");
CreateHouse(name, price, FX, FY, FZ);

return 1;
}



Need something from the script to fill this? ask =)


Thank you allready =)
Reply


Messages In This Thread
/addhouse command help - by GNGification - 23.02.2011, 19:00
Re: /addhouse command help - by maramizo - 23.02.2011, 19:12
Re: /addhouse command help - by GNGification - 23.02.2011, 19:19
Re: /addhouse command help - by BMUK - 23.02.2011, 19:20
Re: /addhouse command help - by maramizo - 23.02.2011, 19:21
Re: /addhouse command help - by xRyder - 23.02.2011, 19:22

Forum Jump:


Users browsing this thread: 2 Guest(s)