mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
Changed touch paramters on give item
This commit is contained in:
parent
4fcad51d25
commit
b7c9cfeea4
@ -318,7 +318,7 @@ static cell AMX_NATIVE_CALL ns_giveitem(AMX *amx, cell *params)
|
|||||||
gpGamedllFuncs->dllapi_table->pfnSpawn(object); // emulate spawn
|
gpGamedllFuncs->dllapi_table->pfnSpawn(object); // emulate spawn
|
||||||
object->v.flags |= FL_ONGROUND; // make it think it's touched the ground
|
object->v.flags |= FL_ONGROUND; // make it think it's touched the ground
|
||||||
gpGamedllFuncs->dllapi_table->pfnThink(object); //
|
gpGamedllFuncs->dllapi_table->pfnThink(object); //
|
||||||
gpGamedllFuncs->dllapi_table->pfnTouch(player,object); // give it to the player
|
gpGamedllFuncs->dllapi_table->pfnTouch(object,player); // give it to the player
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user