public IsInSafeZone(playerid) { if(IsPlayerInArea(playerid,1436.625, -1764.764, 1550.711, -1587.116)) // Police { Textdrawgang1 = TextDrawCreate(12.000000, 434.000000, "Message"); TextDrawBackgroundColor(Textdrawgang1, 255); TextDrawFont(Textdrawgang1, 0); TextDrawLetterSize(Textdrawgang1, 0.500000, 1.399999); TextDrawColor(Textdrawgang1, 16777215); TextDrawSetOutline(Textdrawgang1, 0); TextDrawSetProportional(Textdrawgang1, 1); TextDrawSetShadow(Textdrawgang1, 0); }
C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(52405) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(52406) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(52407) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(52408) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(52409) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(52410) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(52411) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(52412) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(54364) : warning 203: symbol is never used: "Textdrawgang2" C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(54364) : warning 203: symbol is never used: "Textdrawgang3" C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(54364) : warning 203: symbol is never used: "Textdrawgang4" C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(54364) : warning 203: symbol is never used: "Textdrawgang5" C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(54364) : warning 203: symbol is never used: "Textdrawgang6" C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(54364) : warning 203: symbol is never used: "Textdrawgang7" C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(54364) : warning 203: symbol is never used: "Textdrawgang8" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 10872 bytes Code size: 1827472 bytes
Textdrawgang1 = TextDrawCreate(12.000000, 434.000000, "Message");
TextDrawBackgroundColor(Textdrawgang1, 255);
TextDrawFont(Textdrawgang1, 0);
TextDrawLetterSize(Textdrawgang1, 0.500000, 1.399999);
TextDrawColor(Textdrawgang1, 16777215);
TextDrawSetOutline(Textdrawgang1, 0);
TextDrawSetProportional(Textdrawgang1, 1);
TextDrawSetShadow(Textdrawgang1, 0);
public IsInSafeZone(playerid)
{
if(IsPlayerInArea(playerid,1436.625, -1764.764, 1550.711, -1587.116)) // Police
{
TextDrawShowForPlayer(playerid, Textdrawgang1);
}
C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3022) : error 004: function "GivePlayerCash" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3051) : error 004: function "GivePlayerCash" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3087) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3088) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3115) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3624) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3636) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3648) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3652) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3664) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3668) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3672) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3676) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3680) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3684) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3688) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3692) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3696) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3708) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3712) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3716) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3720) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3724) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3736) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3740) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(3744) : error 004: function "PlayerToPoint" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
public IsInSafeZone(playerid)
{
if(IsPlayerInArea(playerid,1436.625, -1764.764, 1550.711, -1587.116)) // Police
{
TextDrawShowForPlayer(playerid, Textdrawgang1);
}
return 1;
}
forward IsInSafeZone(playerid);
Textdrawgang1 = TextDrawCreate(12.000000, 434.000000, "Message"); TextDrawBackgroundColor(Textdrawgang1, 255); TextDrawFont(Textdrawgang1, 0); TextDrawLetterSize(Textdrawgang1, 0.500000, 1.399999); TextDrawColor(Textdrawgang1, 16777215); TextDrawSetOutline(Textdrawgang1, 0); TextDrawSetProportional(Textdrawgang1, 1); TextDrawSetShadow(Textdrawgang1, 0);
add this at ongamemodeinit:
Код:
Textdrawgang1 = TextDrawCreate(12.000000, 434.000000, "Message"); TextDrawBackgroundColor(Textdrawgang1, 255); TextDrawFont(Textdrawgang1, 0); TextDrawLetterSize(Textdrawgang1, 0.500000, 1.399999); TextDrawColor(Textdrawgang1, 16777215); TextDrawSetOutline(Textdrawgang1, 0); TextDrawSetProportional(Textdrawgang1, 1); TextDrawSetShadow(Textdrawgang1, 0); And there is error with the other zones becuase you dont used the zones. |
Okay then, check that lines, you uses IsPlayerAtPoint and some other functions that dont exist. (What i can read on my mobile phone..)
|
public IsInSafeZone(playerid) { if(IsPlayerInArea(playerid,1436.625, -1764.764, 1550.711, -1587.116)) // Police { TextDrawShowForPlayer(playerid, Textdrawgang1); }
C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(11933) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(11934) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(11935) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(11936) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(11937) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(11938) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(11939) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(11940) : warning 213: tag mismatch C:\DOCUME~1\OZZ~1\Desktop\samp03\GAMEMO~1\zonek.pwn(13972) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 10892 bytes Code size: 1828384 bytes Data size: 6922344 bytes Stack/heap size: 16384 bytes; estimated max. usage=5184 cells (20736 bytes) Total requirements: 8778004 bytes 9 Warnings.
Textdrawgang1 = TextDrawCreate(12.000000, 434.000000, "Message"); TextDrawBackgroundColor(Textdrawgang1, 255); TextDrawFont(Textdrawgang1, 0); TextDrawLetterSize(Textdrawgang1, 0.500000, 1.399999); TextDrawColor(Textdrawgang1, 16777215); TextDrawSetOutline(Textdrawgang1, 0); TextDrawSetProportional(Textdrawgang1, 1); TextDrawSetShadow(Textdrawgang1, 0);