ID:142151
 
mob
icon = 'player.dmi'
var
HP = 30

Login()
icon_state = gender
..()

proc
DeathCheck()
if (HP <= 0)
world << "[src] dies!"

verb
attack(mob/M as mob in oview(1))
usr << "You attack [M]!"
oview() << "[usr] attacks [M]!"
var/damage = rand(1,10)
world << "[damage] damage!"
M.HP -= damage
M.DeathCheck()

mob
verb
say(msg as text)
world << "[usr]: [msg]"
mob
verb
smile()
world << "[usr] grins."
giggle()
world << "[usr] giggles."
cry()
world << "[usr] cries \his heart out."
mob
verb
OOC(msg as text)
world << "[usr] says, [msg]"
mob/verb/who()
var/mob/M
usr << "Active players:"
for(M)
if(M.client)
usr << M.name

my problem is that my "player" isnt showing up when i run it everything else works
im assuming it has something to do with character states
help plz

Does your 'player.dmi' icon have icon states "male" and "female"?
In response to Kaiochao
And don't forget "neuter"!
In response to Jeff8500
Or even "plural"! :o
That code will work if the 'player.dmi' file has state named exactly 'male' and 'female' (case sensitive) and once the players gender is specified.
In response to Quiet Screams
You should use <"dm"> </"dm"> tags (without the "'s of course) when you're posting code to make it much easier to read.
In response to Kaiochao
soz but im a bit of a noopb to codeing and havent got a character creation screen yet could someone help me make my game
i do need quite a lot of help lol
In response to Uchihanime
Uchihanime wrote:
soz but im a bit of a noopb to codeing and havent got a character creation screen yet could someone help me make my game
i do need quite a lot of help lol




<few word of advice bro i would ask that on this part first thing you need to do is get skill in either mapping,iconing,or coding << first thing you need to do is get some skills in one of those subject then go to the classified ads or you can ask for a teacher on the classified ads dont know how well it would work when you go into classified ads looking for team members review how people are handling their request for team members

<i myself have been at game making for about 3 yrs and im just now getting decent your best option is not to rely on others i been doing my stuff solo and will be releasing two great games within the nxt few months
<br/>
i wish you good luck on this trip to madness there is a rough road ahead of you dont quit cuz if you hang on long enough you could be the nxt greatest programmer

also for the mean folks on byond i done got to him so please dont flame him or say anything mean to him i remember when i was a noob such as him and didnt get treated to nicly ...