|
 |
|
|
|
|
|
GTA Modification Forums
Construction workers carry planks, other things.
 |
|
 |
| |
jdmalex2  |
|
Player Hater

Group: Members
Joined: Feb 25, 2012

|
maybe | CODE |
replace plank hash with the actual hash may need to add this to ped spawner
void plankme(void) {
Object plank; Ped somepedyouspawned;
float x,y,z;
REQUEST_MODEL(theplankshash); 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
void main(void) { plankme(); }
|
I havent tested it myself but its done in c++ for scocl
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|