A better and cleaner way of doing it, gotta make code look nice aswell
Code:
char* isPlayerInCutscene(int player){
switch(NETWORK::NETWORK_IS_PLAYER_IN_MP_CUTSCENE(player)){
case true: return "Yes!";
case false: return "No!";
default: return "Unknown!";
}
}
(10-24-2018 - 09:18 PM)PhucedMODZ Wrote: A better and cleaner way of doing it, gotta make code look nice aswell
Code:char* isPlayerInCutscene(int player){
switch(NETWORK::NETWORK_IS_PLAYER_IN_MP_CUTSCENE(player)){
case true: return "Yes!";
case false: return "No!";
default: return "Unknown!";
}
}
Thanks PhucedMODZ. Nice!
Users browsing: 2 Guest(s)