18.03.2010, 23:31
Wrong section but anyway
OnGamemodeinit
Under your player classes.
E.g you will have (Or something Similar)
Below AddPlayerClass Add:
If you do not get that, i reccomend reading the PAWN Documentation.
http://compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS
or..
OnGamemodeinit
Under your player classes.
E.g you will have (Or something Similar)
pawn Код:
public OnGameModeInit()
{
SetGameModeText("Bare Script");
ShowPlayerMarkers(1);
ShowNameTags(1);
AllowAdminTeleport(1);
AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
return 1;
}
pawn Код:
public OnGameModeInit()
{
SetGameModeText("Bare Script");
ShowPlayerMarkers(1);
ShowNameTags(1);
AllowAdminTeleport(1);
AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
CreateObject(16773,659.541,-1226.80,18.8203,0.0,180.0,120.0); //CHANGE THIS TO YOUR OBJECT.
return 1;
}
http://compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS
or..
- https://sampwiki.blast.hk/wiki/Category:Tutorials - SA:MP specific PAWN tutorials.
- https://sampwiki.blast.hk/wiki/Category:Scripting_Functions - (API) List of SA:MP PAWN functions with descriptions.
- https://sampwiki.blast.hk/wiki/Scripting_Basics.html - Page containing the basics of PAWN scripting.
- https://sampwiki.blast.hk/wiki/Script_Examples - Examples of how PAWN scripting basics can be put to use.
- https://sampwiki.blast.hk/wiki/Category:Scripting_Callbacks - List of SA:MP PAWN callbacks with parameters parameters.
- MidoStream by MidoBan - http://forum.sa-mp.com/index.php?topic=62450.0
- Double-O-Objects by Double-O-Seven - http://forum.sa-mp.com/index.php?topic=93544.0
- BFX Object Streamer INCLUDE by BlackFox - http://forum.sa-mp.com/index.php?topic=103375.0
- bzuco's Object Streamer by bzuco - http://forum.sa-mp.com/index.php?topic=82843.0
- einsteins object streamer - http://forum.sa-mp.com/index.php?topic=61838.0
- Pixels object streamer - http://forum.sa-mp.com/index.php?topic=82847.0
- Fallout's Object Streamer -http://forum.sa-mp.com/index.php?topic=143094.0
- rStreamer by RyDeR - http://forum.sa-mp.com/index.php?topic=125657.0