Skripta koju koristim:South Europe
Detaljan opis problema😛roblem sa komandom "/jetpack" prvo mi ide unistili ste jetpack pa onda stvorili
Dio skripte: if(strcmp(cmd, "/jetpack", true) == 0)
{
if (PlayerInfo >= 😎
{
new Float:slx, Float:sly, Float:slz;
if(GetPVarInt(playerid,"Jetpack") == 999)
{
SendClientMessage(playerid, COLOR_GREY, "Stvorili ste jetpack.");
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
SetPVarInt(playerid,"Jetpack",playerid);
}
else if(GetPVarInt(playerid,"Jetpack") != 999)
{
SendClientMessage(playerid, COLOR_GREY, "Unistili ste jetpack.");
GetPlayerPos(playerid, slx, sly, slz);
SetPlayerPos(playerid, slx, sly, slz+2);
SetPVarInt(playerid,"Jetpack",999);
}
}
return 1;
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
[POMOC]
213
pregleda
3
postova
7. Sep. 2013.
Izvoli:
if(strcmp(cmdtext, "/jetpack", true) == 0)
{
if(PlayerInfo >= 1)
{
SetPlayerSpecialAction(playerid, 2); //Spawns them a jetpack.
SendClientMessage(playerid, COLOR_GREY, "* Stvorio si JetPack");
format(string, sizeof(string), "{E6D11A} Admin {FFFFFF}%s {E6D11A}je uzeo jetpack.",sendername);
ABroadCast(COLOR_YELLOW,string,1);
}
else
{
SendClientMessage(playerid,COLOR_GREY,"Nisi ovlascen da poletis ko supermen/betmen!!!");
}
return 1;
}Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava