Spawn player without class
#5

Quote:
Originally Posted by NeXoR
Посмотреть сообщение
Add this to LoadChar function ? What team etc should I use on an RP server ?

Note: LoadChar function is used to retrieve all info from MySQL database

EDIT: The callback called after clicking this spawn button is OnPlayerRequestSpawn or OnPlayerRequestClass ?
Just use those two functions in OnPlayerRequestClass. If the players data is loaded, then it is even better. You can set some parameters for the SetSpawnInfo function:

Код:
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][Skin], x, y, z, facing angle, 0, 0, 0, 0, 0, 0);
Reply


Messages In This Thread
Spawn player without class - by NeXoR - 25.04.2016, 21:43
Re: Spawn player without class - by Unte99 - 25.04.2016, 21:50
Re: Spawn player without class - by NeXoR - 25.04.2016, 21:56
Re: Spawn player without class - by oMa37 - 25.04.2016, 22:05
Re: Spawn player without class - by Unte99 - 25.04.2016, 22:06

Forum Jump:


Users browsing this thread: 1 Guest(s)