24.10.2010, 14:40
I have a problem:
if(dialogid == 3)
{
if(response)
{
SendClientMessage(playerid,FARBE_GELB2, "you are male!");
dini_IntSet(accFormat,"sex",Player[playerid][sex]=0);
SpawnPlayer(playerid);
}
else
{
SendClientMessage(playerid,FARBE_GELB2, "you are female!");
dini_IntSet(accFormat,"Sex",Player[playerid][Sex]=1);
SpawnPlayer(playerid);
}
}
here the problem:
if i click male comes the text:you are male
but if i click female nothing happens
thanks for help
if(dialogid == 3)
{
if(response)
{
SendClientMessage(playerid,FARBE_GELB2, "you are male!");
dini_IntSet(accFormat,"sex",Player[playerid][sex]=0);
SpawnPlayer(playerid);
}
else
{
SendClientMessage(playerid,FARBE_GELB2, "you are female!");
dini_IntSet(accFormat,"Sex",Player[playerid][Sex]=1);
SpawnPlayer(playerid);
}
}
here the problem:
if i click male comes the text:you are male
but if i click female nothing happens
thanks for help