Why when choosing skin, the skin doesnt show ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Why when choosing skin, the skin doesnt show ? (
/showthread.php?tid=460405)
Why when choosing skin, the skin doesnt show ? -
bustern - 28.08.2013
So i added 2 skins, but they dont show when player is choosing skins....
My code:
PHP Code:
public OnGameModeInit()
{
AddPlayerClass(105,2497.2693,-1676.9578,13.3398,23.6501,0,0,0,0,0,0); //Grove Street Gang Member (0)
AddPlayerClass(280,1544.0514,-1675.7766,13.5577,98.0974,0,0,0,0,0,0); //Police Officer (1)
return 1;
}
Photoe:
Re: Why when choosing skin, the skin doesnt show ? -
Wizza - 28.08.2013
Try this
pawn Code:
public OnGameModeInit()
{
AddPlayerClass(105,2497.2693,-1676.9578,13.3398,23.6501,-1,-1,-1,-1,-1,-1); //Grove Street Gang Member (0)
AddPlayerClass(280,1544.0514,-1675.7766,13.5577,98.0974,-1,-1,-1,-1,-1,-1); //Police Officer (1)
return 1;
}
Re: Why when choosing skin, the skin doesnt show ? -
Konstantinos - 28.08.2013
The problem is in OnPlayerRequestClass callback. Change the coordinates and camera's look.
Useful:
[FS] OnPlayerRequestClass Maker by RyDeR`
Quote:
Originally Posted by Wizza
Try this
pawn Code:
public OnGameModeInit() { AddPlayerClass(105,2497.2693,-1676.9578,13.3398,23.6501,-1,-1,-1,-1,-1,-1); //Grove Street Gang Member (0) AddPlayerClass(280,1544.0514,-1675.7766,13.5577,98.0974,-1,-1,-1,-1,-1,-1); //Police Officer (1) return 1; }
|
How the weapons can be the problem? I'm curious!
Re: Why when choosing skin, the skin doesnt show ? -
bustern - 28.08.2013
Thx you Konstantinos !+rep for you
Re: Why when choosing skin, the skin doesnt show ? -
Wizza - 28.08.2013
Quote:
Originally Posted by Konstantinos
How the weapons can be the problem? I'm curious!
|
Most of the time the weapons are the problem.