hotkey as command?
#10

You're missing a closed bracket } at the end.

Just declare string before, so replace:
pawn Код:
if( ( newkeys & KEY_SPRINT) && !( oldkeys & KEY_SPRINT ) )
    {
        if( GetPlayerState( playerid ) == PLAYER_STATE_ONFOOT )
        {
            new Float:shax, Float:shay, Float:shaz;
            new Float:shbx, Float:shby, Float:shbz;
            new Float:shcx, Float:shcy, Float:shcz;
to:
pawn Код:
if( ( newkeys & KEY_SPRINT) && !( oldkeys & KEY_SPRINT ) )
    {
        if( GetPlayerState( playerid ) == PLAYER_STATE_ONFOOT )
        {
            new Float:shax, Float:shay, Float:shaz;
            new Float:shbx, Float:shby, Float:shbz;
            new Float:shcx, Float:shcy, Float:shcz;
            new string[128];
And the line 25871?
Reply


Messages In This Thread
hotkey as command? - by whando - 13.11.2013, 17:51
Re: hotkey as command? - by Konstantinos - 13.11.2013, 17:55
Re: hotkey as command? - by whando - 13.11.2013, 18:05
Re: hotkey as command? - by Konstantinos - 13.11.2013, 18:13
Re: hotkey as command? - by whando - 13.11.2013, 18:24
Re: hotkey as command? - by Konstantinos - 13.11.2013, 18:27
Re: hotkey as command? - by whando - 13.11.2013, 18:40
Re: hotkey as command? - by Konstantinos - 13.11.2013, 18:41
Re: hotkey as command? - by whando - 13.11.2013, 18:51
Re: hotkey as command? - by Konstantinos - 13.11.2013, 18:57

Forum Jump:


Users browsing this thread: 10 Guest(s)