01.10.2012, 16:04
pawn Код:
forward BriefCase();
public BriefCase()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if( PlayerInfo[i][pCash] > 29999 )
{
SetPlayerAttachedObject(i, 1, 1210, 6, 6,0.3,0.1, 0, 0, -90, 1.000000, 1.000000, 1.000000 );
}
else if( PlayerInfo[i][pCash] < 30000 )
{
RemovePlayerAttachedObject(i, 1);
}
}
}
return 1;
}
and removing i was wondering if itz the index or something but if someone can fix much appreciate