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))