13.06.2011, 05:16
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 1130.7203,-2029.2191,69.0078)) if (PRESSED(KEY_FIRE)) { new name[MAX_PLAYER_NAME], string[44]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "Welcome, %s.",name); SendClientMessage(playerid,0xFFFFFFFF,string); } return 1; }
Код:
C:\Users\sovy\Desktop\Tushar^#$.@(DANGER)\CnRPatrol\samp03csvr_R2-2_win32\gamemodes\HellzoneStuntages.pwn(3249) : error 017: undefined symbol "PRESSED" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.