12.02.2010, 23:32
You could try this (i think this is what you mean).
Код:
if(response) { if(dialogid == MENUAGE) { new tmp[256],idx; tmp = strtok(inputtext, idx); new age = strval(tmp); PlayerInfo[playerid][pAge] = age; format(string,sizeof(string),"You are now %d years old.", PlayerInfo[playerid][pAge]); SendClientMessage(playerid, COLOR_YELLOW2, string); } }