CreateHouse Command
#5

PHP код:
CMD:chouse(playerid,params[])
{
    new 
tmp,tmp2;
    if(
sscanf(params,"ii"tmp,tmp2)) return SendClientMessage(playerid,-1,"chouse <price> <indid>");
    if(
tmp MIN_HOUSE_PRICE || tmp MAX_HOUSE_PRICE) return SendClientMessage(playerid,-1,"price limit");
    
CreateHouse(playerid,GetFreeHouseID(),tmp,tmp2);
    
SendClientMessage(playerid,-1,"House Created");
    return 
1;

easy right ?
Reply


Messages In This Thread
CreateHouse Command - by Man43 - 22.04.2017, 20:13
Re: CreateHouse Command - by khRamin78 - 23.04.2017, 03:37
Re: CreateHouse Command - by Man43 - 23.04.2017, 10:33
Re: CreateHouse Command - by Man43 - 23.04.2017, 13:26
Re: CreateHouse Command - by khRamin78 - 23.04.2017, 13:31
Re: CreateHouse Command - by Man43 - 23.04.2017, 14:38
Re: CreateHouse Command - by Man43 - 23.04.2017, 14:48
Re: CreateHouse Command - by Toroi - 23.04.2017, 14:54
Re: CreateHouse Command - by Man43 - 23.04.2017, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)