14.02.2013, 13:23
I have a register system filterscrip with onPlayerConnect i set the deaths to 0,
but in my gamemode function onPlayerDeath i want to add to that value
should i save the value to a database in sqllight,
and get the deaths from db_query 'onPlayerDeath'
or
should i just set the values in the gamemode file so i dont have to use a database
PHP код:
public OnPlayerConnect(playerid) {
playerinfo[MAX_PLAYERS][deaths] = 0;
}
should i save the value to a database in sqllight,
and get the deaths from db_query 'onPlayerDeath'
or
should i just set the values in the gamemode file so i dont have to use a database