Raised This Month: $ Target: $400
 0% 

convert enum to number and back. right method


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 12-14-2021 , 04:24   Re: convert enum to number and back. right method
Reply With Quote #3

Huh ?

Simple method to replace team name:
PHP Code:
new const szTeamName[ ][ ] = { "Unassigned",  "Terrorist""Counter-Terrorist""Spectator" }

public 
Ham_Spawnid )
{
    new 
iTeam get_user_teamid );
    
client_printidprint_chat"You team is: %s"szTeamNameiTeam ] )

__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache 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 11:39.


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