12.08.2011, 16:04
Here it is:
PHP код:
if(strcmp(cmdtext,"/jetpack",true) == 0)
{
if(PlayerInfo[playerid][pAdmin] == 1338 )
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
SetPlayerPos(playerid, X, Y, Z);
CreatePickup(370,2,X,Y,Z);
SendClientMessage(playerid, COLOR_GREY, "* Spawned Jetpack");
}
else
{
SendClientMessage(playerid, 0xAA0000AA, "You Have To Be A Level 1338 Admin To Use This!");
}
return 1;
}