Thread: [Solved] Argument type mismatch
View Single Post
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South Korea
Old 05-25-2021 , 00:27   Re: Argument type mismatch
Reply With Quote #3

Problem solved:
PHP Code:
new g_bat_spr

public plugin_precache()
{
     
g_bat_spr engfunc(EngFunc_PrecacheModel"sprites/ef_bat.spr")
}

public ??? {
   
write_short(g_bat_spr// return a value from precaching

__________________
nG_getwreck is offline