When Player Selects Class...[Help]
#1

I need a simple code done which i dont know how to do. This is how i wanted it to go but it seems not be working how i coded mines. Probably cause i did it wrong. Anyways :

When a player selects a class, TogglePlayerControllabe(playerid, 0);

How would that code look?
Reply
#2

Do you have any kind of team system or etc? If then send me it.

Anyways this should work:

pawn Код:
TogglePlayerControllabe(playerid, 0);
Put that under "public OnPlayerRequestClass(playerid, classid)" AKA

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    TogglePlayerControllabe(playerid, 0);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)