[pomoc]posao (lvl) zast nitko nece pomoc


Započeo MT3 bolinx, April 14, 2011, 23:19:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

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;
				}
Poslednja Izmena: April 15, 2011, 14:31:07 POSLE PODNE od Paul McCartney

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


etoga nadamse dasam pomogao.
Poslednja Izmena: April 14, 2011, 23:21:48 POSLE PODNE od [BC]Ante_Dracar aka Lopa



Posjetite nas i osjetite razliku
www.balkan-city.info



193.192.59.151:7788


Game monitor nije u 100% tocan tj uvjek pokaziva manje

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 --.--