[Help]Character selection
#1

The title says it all.I'm having trouble creating a character selection.There is something wrong with the walking and running part..It doesn't look okay.Sorry for my bad english
Reply
#2

What you think we can do without some code?
Reply
#3

They walk/run like retard..any idea?..

public OnGameModeInit()
{
SetGameModeText("");
AddPlayerClass(0,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(165,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(166,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(239,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(194,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(193,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(192,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(191,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(190,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
AddPlayerClass(195,1544.7887,-1675.4630,13.5591,88.8707,38,999,0,0,0,0);
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1544.7887,-1675.4630,13.5591);
SetPlayerFacingAngle(playerid,90.0);
SetPlayerCameraPos(playerid, 1541.5293,-1675.4012,13.5527);
SetPlayerCameraLookAt(playerid, 1544.7887,-1675.4630,13.5591);
return 1;
}
Reply
#4

Please use [ pawn ] tags next time.

Why is the gamemodetext set to an empty string..?

What do you mean running and walking? You don't apply any animations.
Reply
#5

I think you mean you're missing
UsePlayerPedAnims();
under OnGameModeInit
Reply
#6

Quote:
Originally Posted by MP2
Посмотреть сообщение
Please use [ pawn ] tags next time.

Why is the gamemodetext set to an empty string..?

What do you mean running and walking? You don't apply any animations.
I removed it when i pasted it here
Reply
#7

Quote:
Originally Posted by cessil
Посмотреть сообщение
I think you mean you're missing
UsePlayerPedAnims();
under OnGameModeInit
When i read this...then i realised that im missing it..Thank you very much!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)