if(GetPlayerScore(playerid) < 55)
Originally Posted by DraKoN
Sei lб Velho mais tenta
pawn Код:
> Maior = Igual GetPlayerScore --> Pega Score playerid --> Com quem Faz 55 ->> Qual Score no Meu Caso, й Bloqueado para Nнvel Maior de 55 xD Provavelmente Acho que nгo esta certo, mesmo assim tente. |
if(GetPlayerScore(playerid) >= 2)
Provavelmente Acho que nгo esta certo, mesmo assim tente. |
case 9:
{
if(GetPlayerScore(playerid) >= 60)
SendClientMessage(playerid, COLOR_YELLOW, "Vocк nгo tem Level 60.");
udb_setProf(PlayerName(playerid), Profissao[playerid]);
SendClientMessage(playerid, COLOR_YELLOW, "o Voce agora й um Recruta da mafia!.");
Profissao[playerid] = RECRUTA;
TogglePlayerControllable(playerid,1);
SetPlayerColor(playerid, COLOR_RECRUTA);
PlayerPlaySound(playerid,MUSIC_OFF,2050.1995, 1344.5500, 13.2378);//Music Off
GivePlayerWeapon(playerid,4,1);
GivePlayerWeapon(playerid,24,100);
GivePlayerWeapon(playerid,26,100);
GivePlayerWeapon(playerid,18,10);
}
case 9:
{
if(GetPlayerScore(playerid) >= 60)
{
SendClientMessage(playerid, COLOR_YELLOW, "Vocк nгo tem Level 60.");
udb_setProf(PlayerName(playerid), Profissao[playerid]);
SendClientMessage(playerid, COLOR_YELLOW, "o Voce agora й um Recruta da mafia!.");
Profissao[playerid] = RECRUTA;
TogglePlayerControllable(playerid,1);
SetPlayerColor(playerid, COLOR_RECRUTA);
PlayerPlaySound(playerid,MUSIC_OFF,2050.1995, 1344.5500, 13.2378);//Music Off
GivePlayerWeapon(playerid,4,1);
GivePlayerWeapon(playerid,24,100);
GivePlayerWeapon(playerid,26,100);
GivePlayerWeapon(playerid,18,10);
}
}
case 10:
{
udb_setProf(PlayerName(playerid), Profissao[playerid]);
SendClientMessage(playerid, COLOR_YELLOW, "o Voce agora й um Frentista!.");
Profissao[playerid] = FRENTISTA;
TogglePlayerControllable(playerid,1);
SetPlayerColor(playerid, COLOR_FRENTISTA);
PlayerPlaySound(playerid,MUSIC_OFF,2050.1995, 1344.5500, 13.2378);
GivePlayerWeapon(playerid,24,100);
GivePlayerWeapon(playerid,25,100);
GivePlayerWeapon(playerid,31,100);
}
if(GetPlayerScore(playerid) >= 60)
case 10:
if(GetPlayerScore(playerid) >= 60)
{
udb_setProf(PlayerName(playerid), Profissao[playerid]);
SendClientMessage(playerid, COLOR_YELLOW, "o Voce agora й um Frentista!.");
Profissao[playerid] = FRENTISTA;
TogglePlayerControllable(playerid,1);
SetPlayerColor(playerid, COLOR_FRENTISTA);
PlayerPlaySound(playerid,MUSIC_OFF,2050.1995, 1344.5500, 13.2378); Off
GivePlayerWeapon(playerid,24,100);
GivePlayerWeapon(playerid,25,100);
GivePlayerWeapon(playerid,31,100);
}
}