08.09.2015, 02:29
PHP код:
CMD:criarcasa(playerid, params[])
{
new Level[60], dinheiro, string[155], Float:Pos[3];
if(sscanf(params, "uii", Level, dinheiro)) return SendClientMessage(playerid, -1, "Use /criarcasa [Nivel] [Preco] [Interior ID]");{
CreatePickup(1273, 0 , Pos[0], Pos[1], Pos[2], 0);
format(string, sizeof(string),"[INFO-CASA] \n Level : %d \n Preco : %d \n Interior %d",Level , dinheiro);
Create3DTextLabel(string, -1, Pos[0], Pos[1], Pos[2], 40.0, 0,0);
}
return 1;
}