Help PLEASE - 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 PLEASE (
/showthread.php?tid=97746)
Help PLEASE -
Joke(MK) - 16.09.2009
i made a server and can you help me where to put the scripts ?
Re: Help to put scripts -
AG Adam - 16.09.2009
To Filterscripts folder
Re: Help to put scripts -
Joke(MK) - 16.09.2009
Quote:
Originally Posted by AG Adam
To Filterscripts folder
|
ok thanks,but when i start samp-server he telling me
script[gamemodes/allnone.amx]: Run time eror 19 ''File or function is not found [sac] Auth servers are currently offline
What to do help
Re: Help to put scripts -
Joke(MK) - 16.09.2009
Quote:
Originally Posted by Seif_ [adream-rp.com
]
Set "anticheat" to 0 in server.cfg
|
i do that but nothing
i need game mode i wanna RolePlay game mode
Re: Help to put scripts -
Imran.Abbas - 16.09.2009
Quote:
Originally Posted by Joke(MK)
Quote:
Originally Posted by Seif_ [adream-rp.com
]
Set "anticheat" to 0 in server.cfg
|
i do that but nothing i need game mode i wanna RolePlay game mode
|
There is manys RP GM ,
http://forum.sa-mp.com/index.php?topic=122031.0
Re: Help to put scripts -
Joke(MK) - 16.09.2009
i need some filterscripts
Re: Help PLEASE -
AG Adam - 17.09.2009
See the Filterscripts forum, there are many many filterscripts
Re: Help PLEASE -
alistair_hawk - 17.09.2009
I recommend you that you should see a how to make a server tutorial.
You can also find gamemodes in the gamemodes section of the forum, filterscripts in filterscripts section. Have fun :P
Re: Help PLEASE -
AG Adam - 17.09.2009
Hey man, see this code! This is a teleport command.
Код:
if(strcmp("/ls-police", cmdtext, true, 10) == 0) // This is the command
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) // If somebody driving a vehicle, the vehicle teleported too.
{
SetPlayerInterior(playerid, 0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
SetVehiclePos(GetPlayerVehicleID(playerid), 1545.638061, -1675.668701, 13.560752); // This is the position
SetVehicleZAngle(GetPlayerVehicleID(playerid), 92.046417);
return 1;
}
else // If not driving a vehicle (passanger, or on foot), this only set the player's position and don't teleport the vehicle.
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1545.638061, -1675.668701, 13.560752); // This is the position
SetPlayerFacingAngle(playerid, 92.046417);
return 1;
}
}
EDIT: You need to put this code under 'OnPlayerCommandText'.