Category:Scripting Functions

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:47, 3 June 2014
Benzoamg (Talk | contribs)
(Administration)
← Previous diff
Revision as of 13:41, 6 June 2014
Ikkentim (Talk | contribs)
(Added all global object functions.. Someone should add all player objects too)
Next diff →
Line 53: Line 53:
==Objects== ==Objects==
===Global Objects=== ===Global Objects===
 +*[[AttachCameraToObject]] - Attach a playercamera to an object
 +*[[AttachObjectToObject]] - Attach an object to another object
*[[AttachObjectToPlayer]] - Attach an object to a player *[[AttachObjectToPlayer]] - Attach an object to a player
 +*[[AttachObjectToVehicle]] - Attach an object to a vehicle
*[[CreateObject]] - Create an object *[[CreateObject]] - Create an object
*[[DestroyObject]] - Destroy an object *[[DestroyObject]] - Destroy an object
 +*[[EditObject]] - Allows a player to edit an object (position and rotation) using their mouse on a GUI
*[[GetObjectPos]] - Get an object's position *[[GetObjectPos]] - Get an object's position
*[[GetObjectRot]] - Get an object's rotation *[[GetObjectRot]] - Get an object's rotation
*[[IsValidObject]] - Check if an object exists *[[IsValidObject]] - Check if an object exists
*[[MoveObject]] - Move an object *[[MoveObject]] - Move an object
 +*[[SelectObject]] - Display the cursor and allow the player to select an object
 +*[[SetObjectMaterial]] - Replace the texture of an object with the texture from another model in the game
 +*[[SetObjectMaterialText]] - Replace the texture of an object with text
*[[SetObjectPos]] - Set an object's position *[[SetObjectPos]] - Set an object's position
*[[SetObjectRot]] - Set an object's rotation *[[SetObjectRot]] - Set an object's rotation

Revision as of 13:41, 6 June 2014



This page contains an overview of the hundreds of functions available in San Andreas: Multiplayer. All functions have received their own page with extended information about the function, the required parameters, possible usage and other functions you might want to look at.

Functions get added with every new release of San Andreas: Multiplayer. The Server Plugins can also add a lot of extra functions to the multiplayer mod, click on the link for more information about the server plugins. There currently are 273 native functions available.

Scroll down for a full list of functions ordered alphabetically.

Categories

Contents


Vehicles

Objects

Global Objects

Player Objects

Textdraws

Global Textdraws


Player Textdraws


Selection

  • SelectTextDraw: Enables the mouse, so the player can select a textdraw


Gangzones

3D Text Labels

Checkpoints

Normal Checkpoints

Race Checkpoints

Player Variables (pVars)

Spectating

Administration

  • Ban - Ban a player so they can't connect to the server
  • BanEx - Ban a player with a custom reason
  • IsPlayerAdmin - Check whether a player is logged into RCON or not
  • Kick - Kick a player from the server
  • SendRconCommand - Send an RCON command via the script

NPCs

npcmodes

Scripts

  • IsPlayerNPC: Check if a player is an NPC or an actual player.

(previous 200) (next 200)

Articles in category "Scripting Functions"

There are 200 articles in this category.

A

B

C

D

D cont.

E

F

G

G cont.

(previous 200) (next 200)