public GiveMoney( id );public OnPlayerCommandText( playerid, cmdtext[ ] ) { if( strcmp( \"/job-taxi\", cmdtext, true ) == 0 ) { SetTimerEx( \"GiveMoney\", 60000 * 3, true, \"i\", playerid ); return 1; } return 0;}public GiveMoney( id ) { GivePlayerMoney( playerid, 1000 ); return 1;}
new MoneyTimer[ MAX_PLAYERS ];public GiveMoney( id );public OnPlayerCommandText( playerid, cmdtext[ ] ) { if( strcmp( \"/job-taxi\", cmdtext, true ) == 0 ) { MoneyTimer[ playerid ] = SetTimerEx( \"GiveMoney\", 60000 * 3, true, \"i\", playerid ); return 1; } if( strcmp( \"/q-taxi\", cmdtext, true ) == 0 ) { KillTimer( MoneyTimer[ playerid ] ); return 1; } return 0;}public GiveMoney( id ) { GivePlayerMoney( id, 1000 ); return 1;}
#include < a_samp >
#if defined FILTERSCRIPT#define FILTERSCRIPT#else [/quote]ezek nem kellenek
#include < a_samp >new MoneyTimer[ MAX_PLAYERS ];public GiveMoney( id );public OnPlayerCommandText( playerid, cmdtext[ ] ) { if( strcmp( \"/job-taxi\", cmdtext, true ) == 0 ) { MoneyTimer[ playerid ] = SetTimerEx( \"GiveMoney\", 60000 * 3, true, \"i\", playerid ); return 1; } if( strcmp( \"/q-taxi\", cmdtext, true ) == 0 ) { KillTimer( MoneyTimer[ playerid ] ); return 1; } return 0;}public GiveMoney( id ) { GivePlayerMoney( id, 1000 ); return 1;}