Posts: 508
Threads: 34
Joined: Feb 2011
Reputation:
0
CallRemoteFunction("OnPlayerRequestSpawn", "s", "Yo man")
Posts: 746
Threads: 81
Joined: Aug 2010
Reputation:
0
maybe I said wrong.. but that wasnt what I was looking for..
I have classes, when you spawn with it, it says "Welcome to Baby Killer" e.g
Now when he changes via going in to a checkpoint or by a cmd, I want it to change that message to a rank he choose.
So like the Onplayerrequestspawn gets called and will say "Welcome to Noob Killer" if thats the rank he choose i mean like that. I hope u undestand
Posts: 746
Threads: 81
Joined: Aug 2010
Reputation:
0
yeah i know about that one, but then you need to get killed. I want it to automaticly change the skin(of the rank he choose) and then show the Welcome Message.
Like this.
Go in a checkpoint, then right after, it sets the Player skin, I can do that with SetPlayerSkin, and then it says "Welcome to .." whatever rank it is.
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
Well, I don't see a problem. Just set his skin and send the message?
And btw, I won't use CallLocalFunction though. I'd rather just use the callback like it's a stock (probably it's slower, I do some tests soon)