[Ajuda] criarcasa
#7

PHP код:
new nextHouseID 0// TOPO DA GM
CMD:criarcasa(playeridparams[])
{
    new 
Leveldinheirointerior;
    if(
sscanf(params"iii"Leveldinheirointerior)) return SendClientMessage(playerid, -1"Use /criarcasa [Nivel] [Preco] [Interior ID]");
    new 
Float:Pos[3];
    
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);
    
CreatePickup(1273Pos[0], Pos[1], Pos[2], 0);
    
    new 
string[155];
    
format(stringsizeof(string),"[CASA ID %d] \n Level : %d \n Preco : %d \n Interior %d"nextHouseIDLevel dinheirointerior);
    
Create3DTextLabel(string, -1Pos[0], Pos[1], Pos[2], 40.00,0);
    
nextHouseID++;
    return 
1;

Dк mais atenзгo а sintaxe. Faltou ponto e vнrgula e outra vнrgula.
Reply


Messages In This Thread
criarcasa - by JuniorTheDM - 08.09.2015, 02:29
Re: criarcasa - by zPain - 08.09.2015, 02:41
Re: criarcasa - by Lуs - 08.09.2015, 02:43
Re: criarcasa - by JuniorTheDM - 08.09.2015, 02:46
Re: criarcasa - by zPain - 08.09.2015, 02:49
Re: criarcasa - by JuniorTheDM - 08.09.2015, 02:53
Re: criarcasa - by zPain - 08.09.2015, 02:57
Re: criarcasa - by JuniorTheDM - 08.09.2015, 03:11
Re: criarcasa - by JuniorTheDM - 08.09.2015, 03:16
Re: criarcasa - by Lуs - 09.09.2015, 00:32

Forum Jump:


Users browsing this thread: 2 Guest(s)