Jump to content

help a code


Scripting

Recommended Posts

Posted

Hi People

This A function to spawn Player

spawnPlayer 

but i want help, how i can spawnPlayer in the map for gamemode

for exemple:Spawn it in map of gamemode basemode

can a help and thx

Posted

I don't understand what do you mean.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You mean a command like to respawn the player?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

in "play" gamemode you can use it about another gamemodes like "race" have his own spawning system so in race gamemode you can't use just SpawnPlayer this depend on what gamemode you use post what gamemode you use and you will get more help

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Posted

lol soldsnake in BaseMode if you Join late the map is alredy played he want add himself to the map with a command

like ("add") ... Name Has Been Add to the Map !

My in-game nick is |['Dev-PoinT_SA']|

addEventHandler ( "onPlayerSpawn", getRootElement(),

function()

if (getPlayerName(source) == "Dev-PoinT") and (getPlayerTeam == "Admin") then

triggerClientEvent("BlaBlaBla",getRootElement())

DxDrawText("Hi Dev-PoinT")

end

end)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...