Binding a command to a key
#1

So i have got this.....


pawn Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (newkeys & KEY_FIRE)
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 1554.5713,-1675.6034,16.1953))
    {
        SetPlayerPos(playerid, 246.4274,107.8742,1003.2188);
        SetPlayerInterior(playerid, 10);
    }

But when i put C instead of "KEY_FIRE" it tells me i need to define C


How would i do that


Please Help Me Please
Reply


Messages In This Thread
Binding a command to a key - by Scripter12345 - 05.04.2012, 01:16
Re: Binding a command to a key - by antonio112 - 05.04.2012, 01:22

Forum Jump:


Users browsing this thread: 1 Guest(s)