action coin()
{
while(me)
{
c_scan(my.x,my.pan,vector(360,360,75),IGNORE_ME);
if(you == player)
{
coins += 1;
ent_remove(me);
}
wait(1);
}
}
Just take this as action an add it to the coin, coins is the variable vor the coins that the player have, c_scan scans for the player, type in the script of your player
For further questions ask
