adding class list
#1

Hi all,i need to add a name list of all classes in the class selection.

example:

class 1 - class 2 - class 3

Etc..

This when i request the class.

Thanks
Reply
#2

bumppppp
Reply
#3

I take it you have AddPlayerClass or AddPlayerClassEx already setup?
Reply
#4

All you need is the co-ordinates, which you get from typing /save ingame.
Heres what I have:

Код:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("blank");
	AddPlayerClass(202,-2670.7700,2481.4480,37.3377,349.2175,0,0,0,0,0,0); //
}
then you need the cam view, from which you would view your class/skin

Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, -2187.8889,-209.3007,36.5156);
	SetPlayerCameraPos(playerid, -2183.1418,-209.9554,36.5156);
	SetPlayerCameraLookAt(playerid, -2187.8889,-209.3007,36.5156);
	return 1;
}
Reply
#5

Quote:
Originally Posted by funky1234
Посмотреть сообщение
I take it you have AddPlayerClass or AddPlayerClassEx already setup?
Yes i've already AddPlayerClass.

Georgelopez1: I dont need a cam view,i need to show the names of the classes as a list.

Class 1 - class 2 - class 3 ecc..
Reply
#6

No one...?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)