Merge pull request #45 from dusan01/features/money-on-register

$5000 for new player
This commit is contained in:
Lorenc Pekaj 2019-06-17 20:30:55 +10:00 committed by GitHub
commit 2581f9e96a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;