26.02.2012, 02:39
pawn Код:
CMD:criarobjeto(playerid, params[]) {
new obj, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:dis;
if(sscanf(params,"iffff", obj, rx, ry, rz, dis))
return SendClientMessage(playerid, -1, "USE: /criarobjeto [id, rotaзгo x, y, z, distвncia visivel]");
GetPlayerPos(playerid, x, y, z);
CreateObject(obj, x, y, z, rx, ry, rz, dis);
return true;
}