Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var mytype=arugment0;
- var amount=argument1
- var map = obj_game_core.active.s_cargo
- if(!ds_map_exists(map,mytype)){
- map[? mytype] = amount
- }else{
- map[? mytype] = map[? mytype] + amount;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement