#include <a_samp>#include <GetObjectModel>new Value[MAX_OBJECTS];new Fresher[MAX_PLAYERS];public OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\"----Single Player Style Money System----\");print(\"------------------by--------------------\");print(\"--------------BenCarter007--------------\");print(\"----------------Speedy552---------------\");print(\"-----------------loaded-----------------\");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}public OnPlayerSpawn(playerid){Fresher[playerid] = SetTimerEx(\"MoneyFresher\",500,false,\"ii\",playerid);return 1;}public OnPlayerDeath(playerid, killerid, reason){KillTimer(Fresher[playerid]);new Money = GetPlayerMoney(playerid);if (Money != 0){ new Float:x,Float:y,Float:z;GetPlayerPos(playerid,x,y,z);new MoneyObject = CreateObject(1212,x,y,z,0,0,0);Value[MoneyObject] = Money;ResetPlayerMoney(playerid);}return 1;}public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){return 1;}forward MoneyFresher(playerid);public MoneyFresher(playerid){ new Float:x,Float:y,Float:z;GetPlayerPos(playerid,x,y,z); for(new i = 0; i < MAX_OBJECTS; i++) { GetObjectPos(i, x, y, z); if (IsPlayerInRangeOfPoint(playerid,1.0,x,y,z)) { if(GetObjectModel(i) == 1212) { if(!IsPlayerInAnyVehicle(playerid)) { GivePlayerMoney(playerid,Value); DestroyObject(i); } } }}Fresher[playerid] = SetTimerEx(\"MoneyFresher\",500,false,\"ii\",playerid);}