can't use 'playerid'
#4

Quote:
Originally Posted by rakinz
Посмотреть сообщение
Код:
forward PayDay();
public PayDay()
{
SendClientMessage(playerid, COLOR_BLUE, ""COL_WHITE"[------"COL_BLUE"Pay Day!"COL_WHITE"-------]");
}
error 017: undefined symbol "playerid"

Someone can explain why I can't use it?
public PayDay(playerid)
{
SendClientMessage(playerid, COLOR_BLUE, ""COL_WHITE"[------"COL_BLUE"Pay Day!"COL_WHITE"-------]");
}
When creating a function you have the possibility to put parameters in this case you would occupy a parameter that would be playerid, they can have more parameters and you call them as it is but for me it is more comfortable to call them as in the functions
Reply


Messages In This Thread
can't use 'playerid' - by rakinz - 19.11.2017, 17:00
Re: can't use 'playerid' - by JaydenJason - 19.11.2017, 17:02
Re: can't use 'playerid' - by rakinz - 19.11.2017, 17:03
Re: can't use 'playerid' - by Swankeh - 19.11.2017, 17:04
Re: can't use 'playerid' - by rakinz - 19.11.2017, 17:10

Forum Jump:


Users browsing this thread: 1 Guest(s)