08.09.2015, 02:53
Deu Erros , Ve se ta Certo
PHP код:
new nextHouseID = 0; // TOPO DA GM
CMD:criarcasa(playerid, params[])
{
new Level, dinheiro, interior;
if(sscanf(params, "iii", Level, dinheiro, interior)) return SendClientMessage(playerid, -1, "Use /criarcasa [Nivel] [Preco] [Interior ID]");
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
CreatePickup(1273, 0 , Pos[0], Pos[1], Pos[2], 0);
nextHouseID++
new string[155];
format(string, sizeof(string),"[CASA ID %d] \n Level : %d \n Preco : %d \n Interior %d" nextHouseID, Level , dinheiro, interior);
Create3DTextLabel(string, -1, Pos[0], Pos[1], Pos[2], 40.0, 0,0);
return 1;
}