08.08.2009, 16:33
Thats a bit complicated...why dont you better make someone spec someone else and send a clientmessage to the other ID ..?
like
under #endif
stock IsNumeric(string[]) { for (new i = 0, j = strlen(string); i < j; i++) if (string[i] > '9' || string[i] < '0') return 0; return 1; }
onplayecmdtext ...etc
new string[56], id = (IsNumeric(params)) ? strval(params) : GetPlayerId(params);
format(string,sizeof(string),"%s now specing you", playerid);
SendClientMessage(id,string);
somehow like that..
like
under #endif
stock IsNumeric(string[]) { for (new i = 0, j = strlen(string); i < j; i++) if (string[i] > '9' || string[i] < '0') return 0; return 1; }
onplayecmdtext ...etc
new string[56], id = (IsNumeric(params)) ? strval(params) : GetPlayerId(params);
format(string,sizeof(string),"%s now specing you", playerid);
SendClientMessage(id,string);
somehow like that..