Spawning
#1

Im still having problems with this, can someone show me a good way to spawn a player after login to their saved coords? I am using mysql.
Reply
#2

Great way to make a new topic without info. Why didn't you just bumped your other topic on a period of 24 hours? -_-
Reply
#3

i heard someone got infracted for bumping after 24hours, wasnt planning to risk it. and i did include information, i asked if someone can show me best way to spawn a player with saved pos after login
Reply
#4

pawn Код:
1st, load player info

// on player spawn:
SetPlayerPos(playerid, savedposx, savedposy, savedposz);
Reply
#5

Alright, yes i can do that, but then it fucks up my register login
Reply
#6

Quote:
Originally Posted by Anthonyx3'
Посмотреть сообщение
Alright, yes i can do that, but then it fucks up my register login
Load their coordinates after they're logged in, and then use SetPlayer(Pos/Interior/VirtualWorld)? If the account is registered, they shouldnt be spawning before they're logged in anyways.
Reply
#7

Use this under
Код:
OnPlayerRequestClass(playerid,classid)
and
Код:
SpawnPlayer(playerid);
after
Код:
SetSpawnInfo(.....);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)