SpawnPlayer won't work
#1

Hello there, i need some help to force a player to spawn after registration/login. I tried to fix it different ways, but it still wont work. Here is a part of my account panel code attached:
Reply
#2

SpawnPlayer isn't anywhere in your script...
Reply
#3

You have to kill the player first and then it will work.

It's like a scripted version of pressing "f4"
Reply
#4

You don't have to kill the player to use SpawnPlayer, I have it many times on my script and I don't need to kill... it spawns automaticly.
Reply
#5

Uh....yeah i just read the wiki and i failed, i was thinking of

ForceClassSelection



Anyways well i will check the new.pwn document you provided and check what the problem is then

*EDIT/UPDATE*

I am no longer going to help you, hence the name Sin City Roleplay, your trying to recreated the script, or you just stole it but i highly doubt that.
Reply
#6

He didn't even put SpawnPlayer under TogglePlayerControllable, I doub't if he knows how to script..
Reply
#7

OMG i didnt stole anything, i just made a simple registration system by using a tutorial at sa-mp forum, aint that allowed What a bullshit.... -_- And i tried to put SpawnPlayer in different parts (after log in etc) and it didnt work, so stfu if u cant help.
Reply
#8

Then put SpawnPlayer under TogglePlayerControllable
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)