Old 06-05-2009   #1
WNeZRoS
Registered User
 
Join Date: May 2009
Posts: 19
WNeZRoS is an unknown quantity at this point
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);

Last edited by WNeZRoS; 06-06-2009 at 01:17 AM..
WNeZRoS is offline   Reply With Quote
Old 06-06-2009   #2
WNeZRoS
Registered User
 
Join Date: May 2009
Posts: 19
WNeZRoS is an unknown quantity at this point
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..
WNeZRoS is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:06 AM.