Dialog help - 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: Dialog help (
/showthread.php?tid=304072)
Dialog help -
BleverCastard - 16.12.2011
Hello guys,
I'm making a Pilot gamemode and I was wondering how I would make them select a role before they spawn.
This is my OnPlayerSpawn
pawn Код:
public OnPlayerSpawn(playerid)
{
if(PVar[playerid][pLastX] != 0.0 && PVar[playerid][pLastY] != 0)
{
SetPlayerPos(playerid, PVar[playerid][pLastX], PVar[playerid][pLastY], PVar[playerid][pLastZ]);
SetPlayerInterior(playerid, PVar[playerid][pInt]);
}
else SetPlayerPos(playerid, -2808.0325, -1516.4255, 140.8438), SetPlayerInterior(playerid, 0);
return 1;
}
I wanna make a dialog where they have to select a role first and they have to have a certain amount of score before selecting say Military Role. you need 50+ points, can someone help me out, I wont copy and paste I will write it out and try it, this is my first time adding dialogue this is why I need help, Thanks guys.