[pomoc] stit

Započeo sampzone
23. Apr. 2011.
759
pregleda
3
postova
sampzone
5
Underboss
23. Apr. 2011.
mod koji ja korisitm : ravesn edit

problem : imam komandu za stiti
if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 3 || PlayerInfo >= 3)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 3 || PlayerInfo == 3)
{
    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
}
}

if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 2 || PlayerInfo >= 2)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 2 || PlayerInfo == 2)
{
    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
}
}

if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 1 || PlayerInfo == 1)
{
    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
}
}
i kada kucam /stavistit samo se pojavi i nestane...imal ko rjesenje?
Gangasta300
4
Enforcer
24. Apr. 2011.
napiso si /stavistit, a  ovdje ima samo /uzmistit i /ostavistit
sampzone
5
Underboss
24. Apr. 2011.
greska u posanju xD....kada napisem /uzmistit stit se samo pojavi i odma nestane....Imal ko rjesenje?

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha