Note: This is for Resident Evil Cold Blood Beta 2. This does not concern any other mod!
I made a quick plugin on amxx for this mod, and it was to spawn a flashlight on given command.
The plugin compiled and then i tried testing it in-game, but it didn't work. (Now see I'm not very good with pawn)
All I did in the script was:
Code:
public give_flashlight(id)
{
give_item(id, "weapon_flashlight")
return PLUGIN_HANDLED
}
__________________
I can't believe I wasted 5 years of my life not knowing how to program correctly. Went too deep into advanced coding before even learning the basics correctly. :c