12.03.2013, 10:44
You see removeWorldObject id is for MTA not samp! So you need to use that link what I gived to you wiki... So just look I will try now make one for example!
So basiclly what I did I took example and just reedited it...
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
modelid = 5140
Float:fX = 1982.64063
Float:fY = -2038.16406
Float:fZ = 14.78906
Float:fRadius = 16.967950820923
This is your first removeWorldObjectID.. So basicly change your all object to this!
pawn Код:
RemoveBuildingForPlayer(playerid, 5140, 1982.64063, -2038.16406, 14.78906, 16.967950820923);
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
modelid = 5140
Float:fX = 1982.64063
Float:fY = -2038.16406
Float:fZ = 14.78906
Float:fRadius = 16.967950820923
This is your first removeWorldObjectID.. So basicly change your all object to this!