Quote:
Originally Posted by Cycle
Nгo fechei a abertura da callback. Desculpa.
PHP код:
public OnPlayerSelectedMenuRow(playerid,row)
{
new Menu:current;
current=GetPlayerMenu(playerid);
if(current==Trabalhos)
{
switch(row)
{
case 0:{
TogglePlayerControllable(playerid, 1);
SetPlayerTeam(playerid,TEAM_Caminhoneiro);
TogglePlayerControllable(playerid, 1);
}
case 1:{
if(gTeam[playerid]==TEAM_Lixeiro)
TogglePlayerControllable(playerid, 1);
SetPlayerTeam(playerid,TEAM_Lixeiro);
TogglePlayerControllable(playerid, 1);
}
}
}
}
|
Muito Obrigado Mano! , Resolveu aqui!!!, vou ver se jб consigo dar reputaзao e te dou kkk