Posts: 265
Threads: 34
Joined: Mar 2012
Reputation:
0
So I have to goto the debug and make the player positions and ?
Is PlayerClass a player skin?
Posts: 79
Threads: 17
Joined: May 2012
Reputation:
0
i Think Its Your Gravity Bug! Cause about 2 months ago my server like that to because of gravity bug!
Posts: 1,274
Threads: 54
Joined: Jul 2012
Quote:
Originally Posted by Goldilox
How do I fix it then??
|
It isn't a gravity bug, it's your issue with AddPlayerClass.
View this thread :
https://sampwiki.blast.hk/wiki/AddPlayerClass
Example:
Код:
AddPlayerClass(299, 1529.6, -1691.2, 13.3, 0, 0, 0, 0, 0, 0, 0);
Will spawn you at the Los Santos Police Department.
Posts: 265
Threads: 34
Joined: Mar 2012
Reputation:
0
So should I add it on OneGameModeInit?
public OnGameModeInit()
{
// People can spawn with either the CJ skin or The Truth skin.
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
AddPlayerClass(1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
return 1;
}
Posts: 79
Threads: 17
Joined: May 2012
Reputation:
0
Lol Well i'm Wrong Maybe Me Only Got The Gravity Bugs xD