21.03.2013, 08:43
Код:
bagmoney = SetPlayerAttachedObject( i, 1, 1550, 1, 0.117696, -0.298594, -0.012395, 353.867675, 112.472045, 156.506286, 1.000000, 1.000000, 1.000000 ); // CJ_MONEY_BAG -
Код:
public OnPlayerSpawn(playerid) { if(IsPlayerAttachedObjectSlotUsed(playerid, 1)) RemovePlayerAttachedObject(playerid, bagmoney);
i also puted in onplayerconnect and or player requestclass and even a command /remove but it the command remove randomly sometimes works and not
Код:
dcmd_remove(playerid,params[]) { #pragma unused params RemovePlayerAttachedObject(bagmoney,playerid);
Код:
RemovePlayerAttachedObject(bagmoney,playerid)