View Single Post
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
Old 07-25-2022 , 13:48   Re: warning 239: 'void' is an illegal tag; use void as a type HOW TO FIX
Reply With Quote #2

public void: without ":"

Example: public void Event_OnPlayerSpawn(Event:event, String:name[], bool:dontBroadcast)

And if you marked your function return type as "void" you need to delete string like "return 0;" from your code.

Last edited by BRU7US; 07-25-2022 at 13:49.
BRU7US is online now