Post mod/code requests in the Mod Requests topic.
Post mod releases in the Mod Showroom.
Read the Modding Rules BEFORE posting!
Free mod hosting from GTANet, simply login with your GTAForums account details
GTANet's modding wiki
Construction workers carry planks, other things.
Posted 23 February 2012 - 04:49 AM
Posted 24 February 2012 - 01:37 AM
Posted 25 February 2012 - 05:23 AM
I checked the script img, but there was no amb file related to construction workers, plus I don't have coding skills.
Posted 26 February 2012 - 05:44 PM
replace plank hash with the actual hash
may need to add this to ped spawner
while HAS_MODEL_LOADED(theplankshash) == 0 do Wait(100);
GET_CHAR_COORDINATES(somepedyouspawned, x, y, z);
CREATE_OBJECT(theplankshash, 0.0, 0.0, 0.0, plank, 1);
ATTACH_OBJECT_TO_PED(plank, somepedyouspawned, 0, x, y, z, 0.0, 0.0, 0.0, 0);
//then place in main like this
I havent tested it myself but its done in c++ for scocl
Posted 26 February 2012 - 07:43 PM
Edited by NewportByChrysler, 26 February 2012 - 08:12 PM.
Posted 27 February 2012 - 03:41 AM
|QUOTE (NewportByChrysler @ Sunday, Feb 26 2012, 19:43)|
|So wait.....to me, it looks like i'd have to spawn a ped first, like with Native Trainer. Correct me if i'm wrong.|
yeh the way I have it .. I re read your post
maybe there is a way but its probably more involved than what I posted
I think maybe you could delete all existing peds and re-create your own to spawn in rand areas with attached objects
or you could just use a ped spawner but I don't understand how script hook coding works ... haven't tried
but it seems like a pain in the .. for something so small
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users