[pomoc] stit

Započeo sampzone, April 24, 2011, 00:47:41 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

mod koji ja korisitm : ravesn edit

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

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pMember] >= 3 || PlayerInfo[playerid][pLeader] == 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[playerid][pMember] >= 2 || PlayerInfo[playerid][pLeader] >= 2)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pMember] >= 2 || PlayerInfo[playerid][pLeader] == 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[playerid][pMember] >= 1 || PlayerInfo[playerid][pLeader] >= 1)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
}
}

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pMember] >= 1 || PlayerInfo[playerid][pLeader] == 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?

napiso si /stavistit, a  ovdje ima samo /uzmistit i /ostavistit

greska u posanju xD....kada napisem /uzmistit stit se samo pojavi i odma nestane....Imal ko rjesenje?