spawn problem
#1

when the player login
then the screen is a sea then you need to press the spawn button to spawn
↑ how to let the player spawn when login in (i have been use SpawnPlayer(playerid); is unuseful)
and when the player spawn
he will be dead
the cmd show player(0) died 54
what's wrong?
Reply
#2

pawn Код:
SetPawnInfo(playerid, team, skin, X, Y, Z, ANGLE, WEAPON1, WEAPON1AMMO, WEAPON2, WEAPON2AMMO, WEAPON3, WEAPON3AMMO)
https://sampwiki.blast.hk/wiki/SetSpawnInfo

Use this under the login and register system. After setting the SetSpawnInfo use SpawnPlayer(playerid);
Reply
#3

You mean you want player to spawn as soon as he log's in?

pawn Код:
//Add this after Player Login
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
SpawnPlayer(playerid);
Reply
#4

and why will the player died ?
Reply
#5

He wont until there is some other code that kills him.

Код:
This forum requires that you wait 120 seconds between posts. Please try again in 15 seconds.
Reply
#6

no code will set the player hp
beacuse no SetPlayerHealth code
all of the map is my make
i know i never use that code
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)