Awesome Tutorial Zaz
i need some help with coding.
i want to check if player is near to a pickup and when he is near to certain distance from pickup, then pickups appear.
when he goes away to certain distance then pickups should be released from memory.
i want to do this because i added several pickups and then saved game. now i am not able to get normal in-game pickups like certain savegame disk pickup, weapon pickup on killing cops etc because maybe pickups limit is reached. i removed the script from cleo but still my pickups were visible instead of disappearing.
so i read upon it and got info that pickups and in game car generators will be saved with savegame and then it will be duplicated with every game load.
so basically first requirement is, i want to free up my pickups from my savegame, once this issue is solved then i want to make them appear when player is nearby to pickups and once he picks up and goes to certain distance then pickups should be released.
i googled alot, went through sanny help content but didnt get any opcode to check if player is near a pickup.
so please help me with this, i just started coding in cleo. like 3 days.