Help for Kikosalaz - 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 for Kikosalaz (
/showthread.php?tid=107256)
Help for Kikosalaz -
kikosalaz - 09.11.2009
i wanna how to close these doors and set a pickup teleport
not only the binco one, i wanna close all doors on San Andreas so set my owns interiors and pickup whenever i want
Re: how to close these doors -
Sharpace - 09.11.2009
heres to remove them!
public OnGameModeInit()
{
DisableInteriorEnterExits();
return 1;
}
Re: how to close these doors -
retart441 - 09.11.2009
Search pickups on Wiki.
Re: how to close these doors -
DeltaAirlines12 - 09.11.2009
I dont think pickups have anything to do with it....

Put this under "OnGameModeInIt":
Код:
DisableInteriorEnterExits();
Re: how to close these doors -
retart441 - 09.11.2009
Quote:
Originally Posted by DeltaAirlines12
I dont think pickups have anything to do with it.... 
Put this under "OnGameModeInIt":
Код:
DisableInteriorEnterExits();
|
He wants pickup teleports.
The other question was already answered.
Re: how to close these doors -
kikosalaz - 09.11.2009
thanks everybody for the answers and about the pickups i know how to put them on the GM thanks again you were helpful
Re: how to close these doors -
Lajko1 - 09.11.2009
good luck with that all pickups
Re: Help for Kikosalaz -
kikosalaz - 09.11.2009
i dont wanna make anymore post to not spam the forum so i'll request any thing i need here, so it wont spam the forum.
This time i need help with the team's color, i wanna know how to make team's color ids have colors like GF i'm using wasted roleplay someone know in that GM where are the colors for the factions?
thanks in advance
Re: Help for Kikosalaz -
retart441 - 10.11.2009
Quote:
Originally Posted by kikosalaz
i dont wanna make anymore post to not spam the forum so i'll request any thing i need here, so it wont spam the forum.
This time i need help with the team's color, i wanna know how to make team's color ids have colors like GF i'm using wasted roleplay someone know in that GM where are the colors for the factions?
thanks in advance
|
Well I've never worked with Wasted Roleplay, but...
What ever they have there teams defined as, probably something like
Or maybe as numbers.
You will find something like this, it might vary a bit in your script.
Well around on player spawn, or w/e you have them load up stats.
This is just an example.
pawn Код:
if(gTeam[playerid] == TEAM_LSPD)
{
SetPlayerColor(playerid, 0x0000FFAA);
SendClientMessage(playerid, 0x0000FFAA, "Welcome back Officer");
return 1;
}
// Other Teams would go down here as an else if statement.
else if(gTeam[playerid] == TEAM_MAFIA)
{
// Code
}
Re: Help for Kikosalaz -
kikosalaz - 10.11.2009
thanks dude you helped me alot