View Single Post
Author Message
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 06-12-2014 , 10:12   [Possible?] if Error occurs do this?
Reply With Quote #1

Hey,
Just wondering if you can do something like this?

PHP Code:
//test this command
if (IsValidClient(i) && GetClientTeam(i) == 2)
{
    
CS_GetClientClanTag(iclanTags[j], sizeof(clanTags[]));
}
//if error happens [as in if gamedata isnt updated]
if error
{
ServerCommand("wm_warmod_safemode 1");

Is there any type of code or command for this?
__________________
versatile_bfg is offline