message not showing up!! help
#6

Quote:
Originally Posted by yuvraj201
Посмотреть сообщение
It compiles good but ingame no message come on screen what is wrong?

pawn Код:
CMD:mycars(playerid, params[])
{
    new string[1000000];
    format(string, sizeof(string), "Car 1: %d & Car 2 %d", pInfo[playerid][pCar], pInfo[playerid][pCarr]);
    SendClientMessageEx(playerid, COL_GREEN, string);
    return 1;
}
Dude, do not make new strings with size like that. Make something smaller like 128 characters, in your case 64 would be also good.
Reply


Messages In This Thread
message not showing up!! help - by yuvraj201 - 02.01.2014, 12:51
Re: message not showing up!! help - by Wizza - 02.01.2014, 12:52
Re: message not showing up!! help - by Lidor124 - 02.01.2014, 12:54
Re: message not showing up!! help - by Wizza - 02.01.2014, 12:56
Re: message not showing up!! help - by Henkie - 02.01.2014, 13:05
Re: message not showing up!! help - by dominik523 - 02.01.2014, 13:09
Re: message not showing up!! help - by Konstantinos - 02.01.2014, 13:14

Forum Jump:


Users browsing this thread: 2 Guest(s)