Помощь в создании скриптов и модов для IV:MP, Criminal Russia Rage:MP

22.02.2015, 15:03

На этой странице перечислены функции сценариев, которые были реализованы в сервере.

Легенда:

    1 Серверные функции
    2 функции игрока
    3 функции автомобиля
    4 функции объекта
    5 функций Checkpoint
    6 функций событий
    7 функций уголок
    8 Текстовые функции
    9 функций GUI
    10 Функции Blip
    11 Функции Актер
    12 Функции Самовывоз
    13 хешированиях
    14 XML функции
    15 SQLite функции
    16 Функции сценариев
    17 Функции таймера
    18 Мировые функции


Server functions

    log
    addRule
    removeRule
    setRule
    shutdown
    setServerPassword
    getServerPassword
    getPlayersOnServer
    getPlayerSlots
    getTickCount
    togglePayAndSpray
    toggleAutoAim
    sendConsoleInput
    setHostname
    getHostname
    getPlayers
    getConfig
    toggleFrequentEvents
    areFrequentEventsEnabled
    Player functions

    isPlayerConnected
    setPlayerSpawnLocation
    getPlayerName
    setPlayerHealth
    getPlayerHealth
    setPlayerCoordinates
    getPlayerCoordinates
    setPlayerHeading
    getPlayerHeading
    setPlayerModel
    getPlayerModel
    setPlayerTime
    setPlayerGravity
    sendPlayerMessage
    sendMessageToAll
    getPlayerVehicleId
    isPlayerOnFoot
    isPlayerInVehicle
    togglePlayerPayAndSpray
    togglePlayerAutoAim
    togglePlayerControls
    isPlayerSpawned
    getPlayerIp
    banPlayer
    kickPlayer
    getPlayerArmour
    setPlayerArmour
    togglePlayerPhysics
    setPlayerMoney
    getPlayerMoney
    givePlayerMoney
    resetPlayerMoney
    setPlayerVelocity
    getPlayerVelocity
    togglePlayerFrozen
    getPlayerState
    setPlayerWantedLevel
    isPlayerInAnyVehicle
    warpPlayerIntoVehicle
    removePlayerFromVehicle
    givePlayerWeapon
    removePlayerWeapons
    getPlayerAmmo
    getPlayerWeapon
    getPlayerIdentity
    setCameraBehindPlayer
    getPlayerSeatId
    togglePlayerHud
    togglePlayerRadar
    togglePlayerNames
    togglePlayerAreaNames
    setPlayerInterior
    getPlayerInterior
    getEmptyPlayerPadState
    getPlayerPadState
    0.1
    setPlayerWeather
    getPlayerPreviousPadState
    setPlayerColor
    getPlayerColor
    setPlayerName
    getPlayerPing
    setPlayerClothes
    getPlayerClothes
    resetPlayerClothes
    getPlayerSerial
    Vehicle functions

    createVehicle
    deleteVehicle
    setVehicleCoordinates
    getVehicleCoordinates
    setVehicleHeading
    getVehicleHeading
    isVehicleValid
    getVehicleModel
    setVehicleColor
    getVehicleColor
    setVehicleHealth
    getVehicleHealth
    setVehicleEngineHealth
    getVehicleEngineHealth
    setVehicleVelocity
    getVehicleVelocity
    getVehicleName
    0.1
    getVehicleRotation
    setVehicleRotation
    isVehicleOccupied
    getVehicleOccupants
    setVehicleDirtLevel
    soundVehicleHorn
    setVehicleSirenState
    setVehicleLocked
    getVehicleLocked
    setVehicleIndicators
    getVehicleIndicators
    setVehicleComponent
    getVehicleComponents
    resetVehicleComponents
    setVehicleVariation
    getVehicleVariation
Object functions
    createObject
    deleteObject
    getObjectModel
    setObjectCoordinates
    getObjectCoordinates
    setObjectRotation
    getObjectRotation
Checkpoint functions
    createCheckpoint
    deleteCheckpoint
    showCheckpointForPlayer
    hideCheckpointForPlayer
    showCheckpointForAll
    hideCheckpointForAll
Event functions
    addEvent
    callEvent
    removeEvent
0.1
    triggerClientEvent
    triggerServerEvent
Area functions

    getDistanceBetweenPoints2D
    getDistanceBetweenPoints3D
    isPointInCircle
    isPointInTube
    isPointInBall
    isPointInArea
    isPointInCuboid
    isPointInPolygon
Text functions

    displayPlayerText
    displayTextForAll
    displayPlayerInfoText
    displayInfoTextForAll
GUI functions

    guiDrawText
    guiDrawTextForAll
    guiShowMessageBox
    guiShowMessageBoxForAll
Blip functions

    createBlip
    deleteBlip
    setBlipColorForPlayer
    setBlipCoordinates
0.1
    getBlipCoordinates
    setBlipColor
    getBlipColor
    setBlipSize
    getBlipSize
    toggleBlipRoute
    toggleBlipShortRange
Actor functions

    createActor
    deleteActor
    setActorCoordinates
    setActorHeading
Pickup functions

    createPickup
    deletePickup
    getPickupModel
    getPickupType
    getPickupValue
    setPickupCoordinates
    getPickupCoordinates
    setPickupRotation
    getPickupRotation
Hash functions

    md5
    md5File
XML functions

    xml::xml
    xml::constructor
    xml::save
    xml::setTabSize
    xml::nodeAttribute
    xml::nodeRemoveAttribute
    xml::nodeSetAttribute
    xml::nodeRoot
    xml::nodeFind
    xml::nodeFirstChild
    xml::nodeParent
    xml::nodeNext
    xml::nodePrevious
    xml::nodeName
    xml::nodeContent
    xml::nodeSetContent
    xml::nodeClear
    xml::nodeNew
    xml::commentNew
    xml::isComment
    xml::lastError
SQLite functions

    SQLite::db
    SQLite::constructor
    SQLite::query
    SQLite::close
Script functions

0.1
    getScripts
    getClientScripts
    getClientResources
    getScriptName
    loadScript
    unloadScript
    reloadScript
    loadClientScript
    unloadClientScript
    reloadClientScript
    loadClientResource
    unloadClientResource
    reloadClientResource
Timer functions

    setTimer
    isTimerActive
    killTimer
0.1
    timer
    timer::isActive
    timer::kill
    timer::setTraditionalBehavior
World functions

0.1
    setWeather
    getWeather
    date
    setTime
    getTime
    setMinuteDuration
    getMinuteDuration
    setDayOfWeek
    getDayOfWeek
    setTrafficLightsState
    getTrafficLightsState
    setTrafficLightsLocked
    areTrafficLightsLocked
    setTrafficLightsPhaseDuration
    getTrafficLightsPhaseDuration
Аватара
Denka
CRMP.SU Admin

CRMP.SU Admin
 
Сообщения: 376
Зарегистрирован: 08.02.2015

22.02.2015, 17:41

Если будут вопросы по функциям, то спрашивать у меня.
Korzhik
Козак з відзнакою

Козак з відзнакою
 
Сообщения: 1
Зарегистрирован: 10.02.2015


Вернуться в Squirrel



Кто сейчас на форуме

Сейчас этот раздел просматривают: 1 гость