20.05.2014, 01:04
When i put your Code to my GM , Error comes
This is the ERROR
C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(6051 2) : error 017: undefined symbol "dialog"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
pawn Код:
if(GetPVarInt(playerid, "dialog") != dialogid) { // Confirm the dialogid matches what we have in the PVar
format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s (ID %d) is possibly trying to spoof a dialog ID (%d).", GetPlayerNameEx(playerid), playerid, dialogid);
ABroadCast(COLOR_YELLOW, string, 2);
printf("Debug 2: DialogID == %d || PVar Dialog: %d", dialog, GetPVarInt(playerid, "dialog"));
format(string, sizeof(string), "%s has possibly tried to spoof a dialog ID.", GetPlayerNameEx(playerid));
AddAutomatedFlag(playerid, string);
format(string, sizeof(string), "%s has possibly tried to spoof a dialog ID (%d, %d).", GetPlayerNameEx(playerid), dialogid, response);
Log("logs/crash.log", string);
return 1;
}
C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(6051 2) : error 017: undefined symbol "dialog"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.