Raised This Month: $ Target: $400
 0% 

Solved Help with strings


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 07-12-2017 , 12:43   Re: Help with strings
Reply With Quote #1

I tried with formatex to format the string before sending it to the native, compiler error is gone

But i still have a problem, why the fuck does this keeps crashing on me
I tested using client print and the string is fine, but for some reason it is crashing the server..
I tried inserting the string directly and it works.. any ideas ?

PHP Code:
    formatex(sWeaponModelcharsmax(sWeaponModel), "models/v_%s.mdl"sWeaponName)
    
set_pev(iOwnerpev_viewmodel2sWeaponModel)

    
formatex(sWeaponModelcharsmax(sWeaponModel), "models/p_%s.mdl"sWeaponName)
    
set_pev(iOwnerpev_weaponmodelsWeaponModel
__________________

Last edited by Depresie; 07-12-2017 at 13:47.
Depresie is offline
Reply



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 22:45.


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