07.09.2017, 11:17
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?
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);