GTAGaming Forums

GTAGaming Forums (
-   Grand Theft Auto IV Mods (
-   -   Departure from the game (

WNeZRoS 06-05-2009 04:00 AM

Departure from the game
I made a plugin, which should create peds, but when attempting to create the game off with the message "memory could not be writen"
How to make that all went smoothly?

eModel model;
Ped pl = GetPlayerPed();
GetCharModel(pl, &model);
        CreateChar(4, model, -224.406f, 945.445f, 10.9129f, &pl, 1);

WNeZRoS 06-06-2009 05:57 AM

Then another question.
How to use ScriptHook outside class CustomThread?
I think because of that I'm using it in a separate stream of my game is off..

All times are GMT -6. The time now is 12:10 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2016, vBulletin Solutions, Inc.