05.03.2019, 13:11
Hello
i Recently made a class system
when i die i will respawn from cj not classes and it's guns
thanks
i Recently made a class system
Код HTML:
if(gPlayerClass[playerid] == CLASS_SARBAZ)//This is for the First soldier class. { StopAudioStreamForPlayer(playerid); TogglePlayerControllable(playerid, 1); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 31, 200);//m4 GivePlayerWeapon(playerid, 25, 100);//mp5 GivePlayerWeapon(playerid, 24, 70);//deagle } else if(gPlayerClass[playerid] == CLASS_TAKTIRANDAZ)//This is for the Second Sniper class. { TogglePlayerControllable(playerid, 1); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 34, 250);//sniper GivePlayerWeapon(playerid, 29, 250);//mp5 GivePlayerWeapon(playerid, 4, 1);//knife }
thanks