[HELP]Counter Strike Gamemode Errors.
#2

PHP код:
public OnPlayerCommandText(playeridcmdtext[])//
{
    if (
strcmp("/cs"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playerid1DIALOG_STYLE_LIST"Counter Strike, Choose a team!""{0000FF}Counter Terrorists""{FF0000}Terrorists""Select","");//
        
SetPlayerVirtualWorld(playerid50);
        return 
1;
    }
    if (
strcmp("/leavecs"cmdtexttrue10) == 0)//
    
{
        
ShowPlayerDialog(playerid,2DIALOG_STYLE_MSGBOX"Counter Strike, Leaving!""{FF0000}You're about to leave Counter Strike, press OK to continue!""Ok","");//
        
SetPlayerVirtualWorld(playerid50);
    }

Reply


Messages In This Thread
[HELP]Counter Strike Gamemode Errors. - by EgyptForLife - 03.02.2015, 13:41
Re: [HELP]Counter Strike Gamemode Errors. - by Matess - 03.02.2015, 13:45
Re: [HELP]Counter Strike Gamemode Errors. - by EgyptForLife - 03.02.2015, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)