From 51946b9ff01210205058dfef27b0ff8c6fd689ff Mon Sep 17 00:00:00 2001 From: Dusan Date: Mon, 17 Jun 2019 11:41:11 +0200 Subject: [PATCH] Money on register --- gamemodes/irresistible/cnr/auth/account.pwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamemodes/irresistible/cnr/auth/account.pwn b/gamemodes/irresistible/cnr/auth/account.pwn index 908b75f..4118be3 100644 --- a/gamemodes/irresistible/cnr/auth/account.pwn +++ b/gamemodes/irresistible/cnr/auth/account.pwn @@ -94,7 +94,7 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] ) p_Uptime[ playerid ] = 0; ShowAchievement( playerid, "Registering to SF-CnR!", 1 ); p_PlayerLogged{ playerid } = true; - SetPlayerCash( playerid, 0 ); + SetPlayerCash( playerid, 5000 ); SetPlayerScore( playerid, 0 ); p_Kills[ playerid ] = 1; p_Deaths[ playerid ] = 1; @@ -375,7 +375,7 @@ stock SavePlayerData( playerid, bool: logout = false ) if ( IsPlayerCuffed( playerid ) || IsPlayerTazed( playerid ) || IsPlayerTied( playerid ) || p_LeftCuffed{ playerid } || p_QuitToAvoidTimestamp[ playerid ] > g_iTime ) bQuitToAvoid = true; - + #if defined __cloudy_event_system if ( IsPlayerInEvent( playerid ) ) bQuitToAvoid = false;