Need character selection help
#1

Ok so when ever i choose a character when im testing my server, no matter what character i choose when i press spawn, i spawn as cj. Any one know how to fix this, im new to pawno and am not sure what im doing wrong...
Reply
#2

https://sampwiki.blast.hk/wiki/AddPlayerClass
Reply
#3

Hmmm maybe post your AddPlayerClass and then I maybe able to help
Reply
#4

I only have a few classes for testing purposes
Код:
	AddPlayerClass(0,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(16,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(29,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(33,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(68,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(70,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(93,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(101,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(120,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(165,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
	AddPlayerClass(190,1279.2164,-828.4896,83.1406,180.6908,0,0,0,0,0,0);
Reply
#5

Hmmm there is nothing wrong with that

hmmm can you actually see the players in the class selection screen
Reply
#6

yes i can go across to other characters and see them but when i get to the character i want and press spawn, it spawns as cj
Reply
#7

Hmmm dunno

have you tried copying everything in the gamemode into a new one
Reply
#8

Check your code for SetPlayerSkin
Reply
#9

Yes i have tried copying every thing to a new script
Quote:

Look at
pawn Code:

public OnPlayerRequestClass(playerid, classid){

https://sampwiki.blast.hk/wiki/OnPlayerRequestClass
i have looked at that but thanks
Quote:

Check your code for SetPlayerSkin

theres nothing in my script like that, is that what i need?
Reply
#10

Quote:
Originally Posted by Hippotipus
Посмотреть сообщение
theres nothing in my script like that, is that what i need?
no, if it was there it would be the thing setting your skin to 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)