SA-MP Forums Archive
[HELP] With 1 Scirpt Thing For My Server! (Credits will go in my server) - 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: [HELP] With 1 Scirpt Thing For My Server! (Credits will go in my server) (/showthread.php?tid=90378)



[HELP] With 1 Scirpt Thing For My Server! (Credits will go in my server) - wilcock33 - 07.08.2009

hi, i have almost completed my first GM! (HUZZAH!)

but i am stuck on 1 thing!!!

1: SCRIPTING NOW, SOLVED

2: is it possible to set for a specific player (eg every time i loggged in a Slash01) my name was a certain colour, (like blue greed red ETC) if so please help

3: SOLVED

thank alot in advance, many have helped me before!

thanks guys, and PLEASE help me!! ( i know my name says scripter, i am one, i want to know if its possible to do these things, and if you know how, make my knowledge of scripting bigger for future projects!)


Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - urkiefly101 - 07.08.2009

I think you can find 2/3 by just searching. 2/3 is because i'm not sure about the second one


Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - shady91 - 07.08.2009

how can you be a scripter if you dont no if there possible all that is possible and is simple to make.


Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - wilcock33 - 07.08.2009

Quote:
Originally Posted by Shady91
how can you be a scripter if you dont no if there possible all that is possible and is simple to make.
dont be mean!
i know how to do lots of things, if you are going to help, please help, if not, be a bully elsewhere


Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - Abernethy - 07.08.2009

"Is it possible to make a nos command". Yes durh, & nobody is going to make it for you search around.
https://sampwiki.blast.hk/wiki/AddVehicleComponent
https://sampwiki.blast.hk/wiki/Car_Component_ID
https://sampwiki.blast.hk/wiki/OnPlayerStateChange



Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - shady91 - 07.08.2009

im not a bully im saying how can you say you script if you dont no that.

pawn Код:
}
        if(strcmp(cmdtext,"/fillnos",true)==0)
        {
            if(IsPlayerInAnyVehicle(playerid))
            {
            if(GetPlayerState(playerid) == 2)
            {
       
            new vid = GetPlayerVehicleID(playerid);
            AddVehicleComponent(vid, 1010);
            SendClientMessage(playerid,COLOR_MYCOLOR," NOS ADDED!.");
                    return 1;
}
else
{
                    SendClientMessage(playerid,COLOR_WHITE," You must be the driver to add nos.");
                    return 1;
}
}
else
{
                  SendClientMessage(playerid,COLOR_WHITE," You must be in a vehicle to use this command.");
                  return 1;
}
then use SetPlayerToTeamColor for players color so set to a color for registerd cops etc...


Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - shady91 - 07.08.2009

Quote:
Originally Posted by Abernethy
"Is it possible to make a nos command". Yes durh, & nobody is going to make it for you search around.
https://sampwiki.blast.hk/wiki/AddVehicleComponent
https://sampwiki.blast.hk/wiki/Car_Component_ID
https://sampwiki.blast.hk/wiki/OnPlayerStateChange
lmao i was making it as you posted this


Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - wilcock33 - 07.08.2009

ok thanks much

what did you say about SetPlayerToTeamColour?

there not in teams, i want my admins to be able to shooce what colour they have andletthem have their own spawn car, which only THEY can use

once again, thanks much




Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - shady91 - 07.08.2009

eys use SetPlayerToTeamColor dosent mean you have to pic team you could make it so it could be if playerinfo is admin make them that color and for players registerd make them another color.


Re: [HELP] With 3 Scirpt Things For My Server! (Credits will go in my server) - wilcock33 - 07.08.2009

Quote:
Originally Posted by Shady91
eys use SetPlayerToTeamColor dosent mean you have to pic team you could make it so it could be if playerinfo is admin make them that color and for players registerd make them another color.
ok thanks

could you show me how ?