Raised This Month: $ Target: $400
 0% 

recreating from c++ in pawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 12-28-2007 , 19:31   recreating from c++ in pawn
Reply With Quote #1

I was wondering if it's possible transforming the bellow message from c++ to pawn? There must be a way, but how?
Just found this message function in the esf dll, and I wanted to know how to convert it in pawn.
Code:
int CHudExplosion::MsgFunc_Explosion(const char *pszName,  int iSize, void *pbuf )
{	BEGIN_READ( pbuf, iSize );
	vec3_t vecMiddle;
	vecMiddle.x = READ_COORD();
	vecMiddle.y = READ_COORD();
	vecMiddle.z = READ_COORD();
	int radius = READ_LONG();
	char r = READ_CHAR();
	char g = READ_CHAR();
	char b = READ_CHAR();
	char a = READ_CHAR();
	AddExplosion(vecMiddle, radius, r, g, b, a);
	return 1;
}
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
 



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 -4. The time now is 11:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode