I need help for something,
I've make an account system, work great, and for the spawn system i've do that :
-> On packet type ("spawn")
-> SHIP('username') different to global('username')
-> SHIP_2('username') different to GetToken(Network.PacketData,1,":")
DO : SHIP_2 create object at X, Y
SHIP_2 set value username to GetToken(Network.PacketData,1,":")
Work great if they are only 2 ships on the map, if they are more than 2 ships, when the 3st ship_2 join the map, he make lot of ship_2 because the condition (SHIP_2('username') different to GetToken(Network.PacketData,1,":") work with only 1 SHIP_2, i've try to place SHIP_2 in the family ENEMY and do : ENEMY('username') different to GetToken(Network.PacketData,1,":") but do the same)
How to fix it ?