08.06.2017, 13:09
For some reason when i use the command to create DynamicSphere i get SERVER:Unknown command.
and it happend only when i add CreateDynamicSphere when i remove CreateDynamicSphere and just sendclientmeesage the command works any idea why?
and it happend only when i add CreateDynamicSphere when i remove CreateDynamicSphere and just sendclientmeesage the command works any idea why?
PHP код:
#include <a_samp>
#include <streamer>
#include <izcmd>
static s;
CMD:st(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
s = CreateDynamicSphere(x, y, z, 20);
SendClientMessage(playerid, 0xFFFF00FF, "Area created.");
return 1;
}