GTAGaming Forums

GTAGaming Forums (http://www.gtagaming.com/forums/index.php)
-   Grand Theft Auto IV Mods (http://www.gtagaming.com/forums/forumdisplay.php?f=318)
-   -   Departure from the game (http://www.gtagaming.com/forums/showthread.php?t=116148)

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?
Code:

eModel model;
Ped pl = GetPlayerPed();
GetCharModel(pl, &model);
if(IsThisModelAPed(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 03:47 PM.

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