Quote:
Originally Posted by OciXCrom
Copying a small part of the error doesn't help. Show the full thing.
|
https://i.ibb.co/ZSnVbKd/1.png
I Got this [1 warrning] Becasue i change code {} /// Because when i added gravity code it's didn't added for vips only , it added for all players so i edit {} , For make it for vips only and it's worked But I dont know why i got 1 warrning
From:
PHP Code:
public Privilage(id)
{
if(get_user_flags(id) & VIP-ACC && cs_get_user_team(id) == CS_TEAM_CT)
{
ColorChat(id, GREEN, "^1[ ^4GameOver ^1] ^3You got^1 150HP ^3-^1 150Armor ^3-^1 Gravity ^3-^1 Speed ^3-^1 Full nade Pack")
}
set_user_health(id, get_pcvar_num(VIPhealth))
set_user_gravity(id, get_user_gravity(id) - 0.5)
set_user_armor(id, get_pcvar_num(VIParmor))
give_item(id, "weapon_hegrenade")
give_item(id, "weapon_flashbang")
give_item(id, "weapon_flashbang")
give_item(id, "weapon_smokegrenade")
}
To
PHP Code:
public Privilage(id)
{
if(get_user_flags(id) & VIP-ACC && cs_get_user_team(id) == CS_TEAM_CT)
{
ColorChat(id, GREEN, "^1[ ^4GameOver ^1] ^3You got^1 150HP ^3-^1 150Armor ^3-^1 Gravity ^3-^1 Speed ^3-^1 Full nade Pack")
set_user_health(id, get_pcvar_num(VIPhealth))
set_user_gravity(id, get_user_gravity(id) - 0.5)
set_user_armor(id, get_pcvar_num(VIParmor))
give_item(id, "weapon_hegrenade")
give_item(id, "weapon_flashbang")
give_item(id, "weapon_flashbang")
give_item(id, "weapon_smokegrenade")
}
}
Quote:
Is your sv_maxspeed cvar set to 320 by any chance?
|
Yes and now i changed it to 400 to see if this is the problem or not but i got same speed
https://i.ibb.co/QcN5rHL/4.png
https://i.ibb.co/sQzsFjD/2.png