Thread
:
warning 239: 'void' is an illegal tag; use void as a type HOW TO FIX
View Single Post
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
07-25-2022 , 13:48 Re: warning 239: 'void' is an illegal tag; use void as a type HOW TO FIX
#
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
View Public Profile
Send a private message to BRU7US
Visit BRU7US's homepage!
Find More Posts by BRU7US