11.08.2013, 19:11
this my code
and this error please help i want press enter for this code
PHP код:
if(PRESSED(KEY_ENTER))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1928.7715, -1776.2621, 13.5469))
{
SendClientMessage(playerid, COLOR_GREY, "**GAS STATION**");
SendClientMessage(playerid, COLOR_GREY, "Welcome to the Gas Station! Please go by the counter to buy something.");
SetPlayerPos(playerid, -25.5497,-183.2443,1003.5469);
SetPlayerInterior(playerid,17);
return 1;
}
}
return 1;
}
PHP код:
C:\Users\Yajaira\Desktop\CNR\gamemodes\1.2.pwn(1949) : error 017: undefined symbol "KEY_ENTER"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.