SA-MP Forums Archive
Change this - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Change this (/showthread.php?tid=190599)



Change this - marinov - 15.11.2010

I have this :


pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
    if(StarsCar[0] <= vehicleid <= StarsCar[1])
        if(team[playerid] != 6)
            ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
    if(UCCars[0] <= vehicleid <= UCCars[1])
        if(team[playerid] != 7)
            ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not U.C.");
    return 1;
}
But I try to enter a vehicle as a passenger and it won't allow me. How do I change that ?


Re: Change this - 6d - 15.11.2010

Please put a correct title, Change this is not a descriptive title.
Now following "your orders, captain" i changed it to you:

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(StarsCar[0] <= vehicleid <= StarsCar[1] && ispassenger==1)
        if(team[playerid] != 6)
            ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"I need to put descriptive titles on SAMP Forums.");
    if(UCCars[0] <= vehicleid <= UCCars[1])
        if(team[playerid] != 7)
            ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"YSAMP Users won't thank me for my titles.");
    return 1;
}
That should work.


Re: Change this - iggy1 - 15.11.2010

Well this is your 4th topic about this same thing, i won't even lift a finger to help someone like you who doesn't obide by the rules! Bump your old topics after 12 hours no less and don't post multiple topics about the same thing.


Re: Change this - marinov - 15.11.2010

No one would help me in my other topics. I'm brazilian I don't know what this "Bump" thing is.

PS:6d thx man, and that was funny lol


Re: Change this - 6d - 15.11.2010

Quote:
Originally Posted by iggy1
Посмотреть сообщение
Well this is your 4th topic about this same thing, i won't even lift a finger to help someone like you who doesn't obide by the rules! Bump your old topics after 12 hours no less and don't post multiple topics about the same thing.
Didn't check that, But yeah it's true, Follow the rules, next time i won't help you.

6d


Re: Change this - marinov - 15.11.2010

OK, Sorry guys for not following the rules, now I get it, I won't do it again.


Re: Change this - 6d - 15.11.2010

Quote:
Originally Posted by marinov
Посмотреть сообщение
No one would help me in my other topics. I'm brazilian I don't know what this "Bump" thing is.

PS:6d thx man, and that was funny lol
Brazilian, Australian, From US. If you know what "Don't - Post - Many - Topics - About - The - Same - Stuff" then you are in the Please Don't Post about the same stuff each 5 minutes List.
No Problem, but I would appreciate if you read this


Re: Change this - iggy1 - 15.11.2010

Para bater um fio em um fуrum na internet й para postar uma resposta a isso apenas para elevar o perfil do segmento. Isso, normalmente, devolvк-lo ao topo da lista de threads ativas. Tem sido sugerido que o "galo" й um acrфnimo de "abrir o meu post" [1], porйm este й certamente um backronym e seu uso й inteiramente coerente com o verbo "bump", que significa "bater para uma nova posiзгo "[2]. Tambйm pode ser utilizado nas mensagens pessoais (PMs) ou mensagens instantвneas (IMs) na Web, para retornar uma mensagem mais antiga atй o topo da lista.

Definition of bump in Portuguese. (****** translate)


Re: Change this - marinov - 15.11.2010

Ok Ok I get it, Sorry. I promes I won't do it again, next time I will just Bump the old one lol


Re: Change this - marinov - 15.11.2010

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(StarsCar[0] <= vehicleid <= StarsCar[1] && ispassenger==1)
        if(team[playerid] != 6)
            ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
    if(UCCars[0] <= vehicleid <= UCCars[1])
        if(team[playerid] != 7)
            ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not U.C.");
    return 1;
}
I still can't enter as a passenger =/