07.01.2011, 12:29
Nгo se usa else nesse caso.
pawn Код:
new carro = Dono[playerid][dChave];
new nome[25];
GetPlayerName(playerid,nome,sizeof(nome));
for(new c = 0; c < sizeof(Carro); c++)
{
if(strcmp(nome, Carro[c][cDono], false) == 0)
{
SendClientMessage(playerid,COLOR_YELLOW,"Bem vindo de volta a seu veiculo");
TogglePlayerControllable(playerid, 1);
return 1;
}
}
format(string, sizeof(string), "~w~PROPRIETARIO:~n~~r~%s, ~w~digite ~n~~r~/sair para sair.",Carro[c][cDono]);
GameTextForPlayer(playerid, string,5000,5);
TogglePlayerControllable(playerid, 1);

