26.06.2012, 14:29
Hello,
I don't know what's wrong with this code.
Am i doing something wrong?
Thank you.
I don't know what's wrong with this code.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
new str[128];
switch(dialogid)
{
case 250:
{
if(response)
{
if(strval(str) < 1 || strval(str) > 60) return ShowPlayerDialog(playerid,250,DIALOG_STYLE_INPUT,"Test","{FF00EA}Test Age?\n{FF00EA}You're Age Must Be Between 1-60!","Okay","");
PutPlayerInVehicle(playerid,v_ID,3);
TogglePlayerControllable(playerid, 1);
FadeColorForPlayer(playerid,255,0,0,0,255,0,0,255,100,10);
}
}
}
return 1;
}
Thank you.