Raised This Month: $ Target: $400
 0% 

Error when setting gravity, speed and life


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-27-2011 , 09:34   Re: Error when setting gravity, speed and life
Reply With Quote #9

If the message is visible means the code worked correctly either
that you have an error on your commands
even though i couldn't found it...

In the part i puted the "debug" message it must give to the user

"knife"
"usp"
"m4a1"
"grenades"
"ammos"
110 lifes
0 armor and normal maxpeed with model LVg_solado
if you the debug message appear and you don't have any of these...

try to make them:

Code:
 if(Soldado[id])       {           strip_user_weapons(id)           give_item(id, "weapon_knife")           give_item(id, "weapon_usp")           give_item(id, "weapon_m4a1")           give_item(id, "weapon_hegrenade")           give_item(id, "weapon_flashbang")           give_item(id, "weapon_smokegrenade")           give_item(id,"ammo_556nato") // Balas m4a1           give_item(id,"ammo_45acp") // Balas Usp           server_print("[XpMOD] Code Reached");         set_user_health(id, 110)           cs_set_user_armor(id, 0)           set_user_maxspeed( id , get_user_maxspeed( id ) + 0.0 )             cs_set_user_model(id, "lvg-Soldado")       }
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
 



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 19:54.


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