need help with ondialogresponse
#1

im trying to make a /me command but instead of a command i would need to write the message in the dialog i tried this:
else if(dialogid == skalbimas)
{
new string[128],name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(string, sizeof(string), "[ME]: %s %s", name, params);
SendClientMessageToAll(-1, string);
return 1;
}

but i get a error at line 541

D:\GAMES\GTASA\SAMP\gamemodes\darbas.pwn(541) : error 017: undefined symbol "params"

can anybody help me ?
Reply


Messages In This Thread
need help with ondialogresponse - by karolis11234 - 19.02.2014, 14:30
Re: need help with ondialogresponse - by Clad - 19.02.2014, 14:40
Re: need help with ondialogresponse - by Konstantinos - 19.02.2014, 14:43
Re: need help with ondialogresponse - by karolis11234 - 19.02.2014, 14:51
Re: need help with ondialogresponse - by Konstantinos - 19.02.2014, 14:53

Forum Jump:


Users browsing this thread: 1 Guest(s)