#1 Re: GTA Modding » Sanny Builder / CLEO discussion » 27-11-2011 19:59

hi. im trying to create property buying pickups, but i need to know how to continue. so far it is:

{$VERSION 3.1.0027}
{$CLEO .cs}
//-------------MAIN---------------
thread "PARKMONSTER"
wait 1000
0A95: enable_thread_saving
032B:  Create_property_pickup  1273 group 15 property 435.625 2522.09 20.1797 price 130000
if
key_pressed 36
032B:  Create_savegame_pickup  1277 group 101 save  409.252 2526.93 16.5703

0A93: end_custom_thread

first of all, will that key pressing command work? also how can i edit the needed parameters amount?
i found a property creating command but im not sure how to use it correctly:

0518: $BUY_ASSET_PICKUPS[0] = create_available_asset_pickup 'PROP_1' at $X_PROPERTY_TO_BUY[0] $Y_PROPERTY_TO_BUY[0] $Z_PROPERTY_TO_BUY[0] price $120000  // Press ~k~~PED_ANSWER_PHONE~ to buy this property.

maby i replace the _property_to_buy with coords? testing now....
also im pretty sure this wouldn't work as what it is now in any way...

and also apologies to bump this old thread, didn't think of finding similar....

Board footer

Powered by FluxBB