19.03.2017, 09:43
Help, I'm using this code and a bug occurs. This command only work with the player on first login, it doesn't work with any players.
this is my command
this is my command
PHP код:
CMD:mine(playerid,params[])
{
if(!IsPlayerInRangeOfPoint(playerid,mInfo[playerid][radius],mInfo[playerid][m_x],mInfo[playerid][m_y],mInfo[playerid][m_z])) return SendClientMessage(playerid,warna_merah,"Sedang tidak di area miner");
if(MinerPlayer[playerid][Mining] == 1) return SendClientMessage(playerid,-1,"Ayo Bekerja....");
StartMine(playerid);
return 1;
}