10.09.2013, 06:09
pawn Код:
CMD:deleteo(playerid, params[])
{
new slot;
oData[playerid][slotobjID] = slot;
oData[playerid][objID][i] = CreateObject(...);
if(sscanf(params, "i", slot)) return SendClientMessage(playerid, red, "USAGE: /deleteo [slot id]");
DestroyObject(oData[playerid][objID][slot] );
return 1;
}