#1

Hi so i made this spawn selection and if there is a way that i can do this

i want that when a player presses f4 after death it will show him this dialog again


PHP код:
ShowPlayerDialog(playeridspawndialogDIALOG_STYLE_LIST"Spawn","Los Santos\nSan Fierro\nLas Venturas","Select","Cancel"); 
thanks
Reply
#2

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
ShowPlayerDialog(playeridspawndialogDIALOG_STYLE_LIST"Spawn","Los Santos\nSan Fierro\nLas Venturas","Select","Cancel");
    
//Your More Code...
    
return 1;

Just That
Reply
#3

yeah i know but the thing is that they can still see the arrows and they can press spawn
Reply
#4

Or You can Add This at OnPlayerSpawn ! And If Player Choosing They Can Spawn again At They choice spawn
Reply
#5

Quote:
Originally Posted by rambalili2
Посмотреть сообщение
yeah i know but the thing is that they can still see the arrows and they can press spawn
OnPlayerRequestSpawn, return in this callback '0' when they see dialog. My opinion on these buttons have been said a long time ago. That's why I spawn players when they connect and use my custom class selection.
Reply
#6

I tryed using the mSelection include with this spawn and my game just crashes coz it keeps spawning the player can you give me any ideas of making my own class selection?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)