Need help in few scripts.
#1

Q1=Can anyone make me or send me a link to advanced Gps System for rp server like this one:https://sampforum.blast.hk/showthread.php?tid=219539?

Q2=Anyone know how to add background pic when server starts(i.e on login/register screen)?

Q3=Need help in removing vehicle dots from minimap.

Q4=How to fix age?when i type /stats.it's shows :Age[0]?,why 0?

Код:
	if(dialogid == SEXMENU)
	{
		if(response)
				{
         	        SetPlayerPos(playerid, 1.71875, 30.4062, 1200.34);
             		SetPlayerInterior(playerid,0);
        		    PlayerInfo[playerid][pSex] = 1;
   		    	    RegistrationStep[playerid] = 2;
   		    	    SetPlayerSkin(playerid, 29);
   		    	   	ShowPlayerDialog(playerid, AGEMENU, DIALOG_STYLE_INPUT, "{00C0FF}Second Question", "{FFFFFF}- How old are You ?", "Submit", "Cancel");
 			        return 0;
 			    }
   				else
 	    		{
                    SetPlayerPos(playerid, 1.71875, 30.4062, 1200.34);
              		SetPlayerInterior(playerid,0);
        		    PlayerInfo[playerid][pSex] = 2;
   		    	    RegistrationStep[playerid] = 2;
   		    	    SetPlayerSkin(playerid, 193);
              		ShowPlayerDialog(playerid, AGEMENU, DIALOG_STYLE_INPUT, "{00C0FF}Second Question", "{FFFFFF}- How old are You ?", "Submit", "Cancel");
 			        return 0;
				}
  	}
	if(dialogid == AGEMENU)
	{
		if(response)
		{
		RegistrationStep[playerid] = 0;
 		TutTime[playerid] = 1;
  		CanTalk[playerid] = 0;
		return 1;
		}
	}
Код:
new age = PlayerInfo[targetid][pAge];
Код:
format(coordsstring, sizeof(coordsstring), "Level:[%d] - Sex:[%s] - Age:[%d] - Cash:[$%d] - Bank:[$%d] - Ph:[%d] - Health:[%.1f] - Armor:[%.1f]",level,atext,age,cash,account,pnumber,health,armor);
Reply
#2

Anyone?
Reply
#3

Wait 24 hours before bumping.


- Might reply to this later but for now just don't bump it.
Reply
#4

Quote:
Originally Posted by Meller
Посмотреть сообщение
Wait 24 hours before bumping.


- Might reply to this later but for now just don't bump it.
Okay sure and i'be waiting...
Reply
#5

Код:
	if(dialogid == AGEMENU)
	{
		if(response)
		{
                        new str = strval(inputtext);
			PlayerInfo[playerid][pAge] = str;
		RegistrationStep[playerid] = 0;
 		TutTime[playerid] = 1;
  		CanTalk[playerid] = 0;
		return 1;
		}
	}
Will work, You were not setting the Value of the Age in the variable !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)