15.03.2012, 15:33
Nah, this is the right:
You had error in yours.
Download zcmd.inc and on top of your script add
Download zcmd.inc and on top of your script add
[pawn
pawn Код:
CMD:SkyDive(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2] + 1000);
SendClientMessage(playerid, -1, "Skydiving ...");
return 1;
}
}
Download zcmd.inc and on top of your script add
pawn Код:
#include <zcmd>
[pawn