SA-MP Forums Archive
help in reigter dialog - 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: help in reigter dialog (/showthread.php?tid=586974)



help in reigter dialog - Alexander1234 - 26.08.2015

if(PlayerInfo[playerid][pTut] == 0)
{
gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
TogglePlayerControllable(playerid, 1);
SetPlayerColor(playerid,TEAM_HIT_COLOR);
SetPlayerPos(playerid, 1607.0160,-1510.8218,-10.0);
SetPlayerCameraPos(playerid, 1850.1813,-1765.7552,81.9271);
SetPlayerCameraLookAt(playerid, 1607.0160,-1510.8218,207.443;
RegistrationStep[playerid] = 1;
SendClientMessage(playerid, COLOR_GREEN, "Welcome to .......... Roleplay, please fill in some information to proceed.");
SetPlayerVirtualWorld(playerid, 1984);
ShowPlayerDialog(playerid, SEXMENU, DIALOG_STYLE_LIST, "Select your Gender","Male\nFemale ", "Select", "Cancel");
ShowMainMenuGUI(playerid);
return 1;
}





when I enter I told me write the pass then I got crahed so how to solve it plzzz comment


Re: help in reigter dialog - iTakelot - 26.08.2015

PHP код:
if(PlayerInfo[playerid][pTut] == 0)
{
   
//===============================================================//
   
    
SetPlayerPos(playerid1607.0160,-1510.8218,-10.0);
    
SetPlayerCameraPos(playerid1850.1813,-1765.7552,81.9271);
    
SetPlayerCameraLookAt(playerid1607.0160,-1510.8218,207.443);
    
    
//===============================================================//
     
    
SendClientMessage(playeridCOLOR_GREEN"Welcome to .......... Roleplay, please fill in some information to proceed.");
    
ShowPlayerDialog(playeridSEXMENUDIALOG_STYLE_LIST"Select your Gender","Male\nFemale ""Select""Cancel");
    
    
//===============================================================//
    
ShowMainMenuGUI(playerid);
    
SetPlayerVirtualWorld(playerid1984);
    
gOoc[playerid] = 1gNews[playerid] = 1,gFam[playerid] = 1,RegistrationStep[playerid] = 1;
    
TogglePlayerControllable(playeridtrue);
    
SetPlayerColor(playerid,TEAM_HIT_COLOR);
    
//===============================================================//
    
return 1;

Try