Load map which the player wants (Rep +1)
#1

Hi I want a script like this:

When the player joins a playerdialog comes there will be 2 options.Like NOOBS and PROS.If he selects NOOBS then a map will load and if he selects PROS then another map will load.PROS cannot see NOOBS map and NOOBS cannot see PROS Map.... Is that possible??
Reply
#2

Yes, you should use CreatePlayerObject instead of CreateObject.
Reply
#3

Thanks But I NEED TO ADD Player in CreateObject for all.. and My map is sooooo long It will take an year to finish.Got any ideas??
Reply
#4

Maybe you're talking about virtual worlds?
Reply
#5

Quote:
Originally Posted by MichaelProPlayer
Посмотреть сообщение
Thanks But I NEED TO ADD Player in CreateObject for all.. and My map is sooooo long It will take an year to finish.Got any ideas??
There are converters for that.
You also can just do CTRL+H and input CreateObject( > CreatePlayerObject(playerid,
Reply
#6

Код:
public OnPlayerSpawn(playerid)
{
ShowPlayerDialog(playerid,87,DIALOG_STYLE_LIST,"Select want you want to play"," TDM\r\n2. STUNT\r\n3","Select", "Cancel");
}
Can someone make OnDialogResponse ?? Plz
Reply
#7

pawn Код:
if(dialogid == 87 && response)
{
if(listitem == 0)
{
 // map
}
else if(listitem == 1)
{
 // map
}
return 1;
}
Put this in OnPlayerDialogResponse
Reply
#8

Dude you are awesome Thankyou very very much.And lol nice forums Michael jackson
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)