Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: CandY poslato April 18, 2014, 14:28:01 POSLE PODNE

Naslov: [POMOC] Oko stita
Poruka od: CandY poslato April 18, 2014, 14:28:01 POSLE PODNE
Skripta koju koristim: UP
Detaljan opis problema: Pa kad kucam /uzmistit odma nestane pojavi se na 4 sec i nestane.
Dio skripte:
//////////////////////////////////////////////////////////////////
CMD:ostavistit(playerid,params[])
{
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
else
{
SCM(playerid,-1,""PLAVA"[LSPD/SIPA] "SIVA"Niste clan PD/SIPA!");
}
return 1;
}
CMD:uzmistit(playerid,params[])
{
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7)
{
SetPlayerAttachedObject( playerid, 0, 18637, 5, -0.064955, -0.135697, -0.200892, 54.463840, 10.984453, 87.706436, 1.078429, 1.000000, 1.000000 ); // PoliceShield1 - stit
SCM(playerid,-1,""PLAVA"[LSPD/SIPA] "SIVA"Uzeli ste stit!");
}
else
{
SCM(playerid,-1,""PLAVA"[LSPD/SIPA] "SIVA"Niste clan PD/SIPA");
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno): http://zaslike.com/files/6ulz4m0s6288k027lzs3.png tako bude 4 sec i onda nestane
Naslov: Odg: [POMOC] Oko stita
Poruka od: CandY poslato April 18, 2014, 17:05:17 POSLE PODNE
Napravio sam moze LOCK  :D :D :D