SA-MP Forums Archive
Unkown Command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Unkown Command (/showthread.php?tid=531018)



Unkown Command - Phyzic - 10.08.2014

Hello,

I was trying this command -

Код:
CMD:house(playerid, params[])
{
    new Float:x, Float:y, Float:z; 
    GetPlayerPos(playerid, x, y, z);
    AddStaticPickup(1273, 1, x, y, z+2.0, 0); // Pickup
    Create3DTextLabel("House", 0x008080FF, x, y, z, 10.0, 0, 0); // Text Label
    SetPlayerMapIcon(playerid, 1, x, y, z, 31, 0, MAPICON_LOCAL ); // Map Icon
    CreateDynamicCP(x, y, z, 1, -1, -1, -1, 100.0); // Checkpoint
    return 1;
}
I am getting SERVER - Unknown Command.
I am using zcmd include.