Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: MT3 bolinx poslato April 14, 2011, 23:19:11 POSLE PODNE

Naslov: [pomoc]posao (lvl) zast nitko nece pomoc
Poruka od: MT3 bolinx poslato April 14, 2011, 23:19:11 POSLE PODNE
skripta koju koristim:tuborg
detaljan opis problema:ovako kako da ubacim da za neki posao npr gradjevinar stavim da to moze samo za lvl 3 npr...
dio skripte:if(strcmp(cmd, "/posao", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
           if(PlayerInfo[playerid][pJob] == 0)
{

      if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1278.39453125,-1263.1385498047,13.763511657715))
{
                   SendClientMessage(playerid,CRVENA,"*****************************************************************");
   SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Gradjevinar"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                   SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Gradjevinar"#COL_GREEN" upiÅ¡i /potvrdi.");
                   SendClientMessage(playerid,CRVENA,"*****************************************************************");
   GettingJob[playerid] = 1;
}
Naslov: Odg: [pomoc]posao (lvl)
Poruka od: [BC]Ante_Dracar aka Lopa poslato April 14, 2011, 23:21:20 POSLE PODNE

if (PlayerInfo[playerid][pLevel] >= 3)
{
}


etoga nadamse dasam pomogao.
Naslov: Odg: [pomoc]posao (lvl)
Poruka od: MT3 bolinx poslato April 14, 2011, 23:27:16 POSLE PODNE
if(strcmp(cmd, "/posao", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
            if(PlayerInfo[playerid][pJob] == 0)
            if (PlayerInfo[playerid][pLevel] >= 3)
{

       if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1278.39453125,-1263.1385498047,13.763511657715))
{
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    SendClientMessage(playerid, ZELENA, "* Želite postati"#COL_RED" Gradjevinar"#COL_GREEN" i prihvatiti ugovor od 5 sati?");
                    SendClientMessage(playerid, ZELENA, "* Ako si siguran da zelis postati"#COL_RED" Gradjevinar"#COL_GREEN" upiÅ¡i /potvrdi.");
                    SendClientMessage(playerid,CRVENA,"*****************************************************************");
    GettingJob[playerid] = 1;
}


ovak sam stavio...al onda nece komanda /posao --.--