#1

C:\DOCUME~1\user\Desktop\MARXRE~1\GAMEMO~1\PRRP.pw n(2563) : error 017: undefined symbol "pNMuteTotal"
C:\DOCUME~1\user\Desktop\MARXRE~1\GAMEMO~1\PRRP.pw n(2566) : error 017: undefined symbol "pNMuteTotal"
C:\DOCUME~1\user\Desktop\MARXRE~1\GAMEMO~1\PRRP.pw n(2569) : error 017: undefined symbol "pNMuteTotal"
C:\DOCUME~1\user\Desktop\MARXRE~1\GAMEMO~1\PRRP.pw n(2570) : error 017: undefined symbol "pNMuteTotal"
C:\DOCUME~1\user\Desktop\MARXRE~1\GAMEMO~1\PRRP.pw n(2571) : error 017: undefined symbol "pNMuteTotal"

4 errors

Код:
2563if(PlayerInfo[playerid][pNMuteTotal] < 4)
	{
		new string[64];
		format(string,sizeof(string),"Prison for %d Minutes\nCash Fine ($%d)",PlayerInfo[playerid][pNMuteTotal] * 15, fine);
		ShowPlayerDialogEx(playerid,NMUTE,DIALOG_STYLE_LIST,"Newbie Chat Unmute - Select your Punishment:",string,"Select","Cancel");
	}
	else if(PlayerInfo[playerid][pNMuteTotal] == 4) ShowPlayerDialogEx(playerid,NMUTE,DIALOG_STYLE_LIST,"Newbie Chat Unmute - Select your Punishment:","Prison for 1 Hour","Select","Cancel");
	else if(PlayerInfo[playerid][pNMuteTotal] == 5) ShowPlayerDialogEx(playerid,NMUTE,DIALOG_STYLE_LIST,"Newbie Chat Unmute - Select your Punishment:","Prison for 1 Hour and 15 Minutes","Select","Cancel");
	else if(PlayerInfo[playerid][pNMuteTotal] == 6) 2571ShowPlayerDialogEx(playerid,NMUTE,DIALOG_STYLE_LIST,"Newbie Chat Unmute - Select your Punishment:","Prison for 1 Hour and 30 Minutes","Select","Cancel");
}
Reply
#2

at top of your gamemode do
pawn Код:
new pNMuteTotal
Reply
#3

pawn Код:
new pNMuteTotal
Reply
#4

Don't forget the ; at the end of making a new variable.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)