mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-24 18:25:41 +00:00
script 500-599
This commit is contained in:
parent
d579ee1b64
commit
542e746f66
1 changed files with 1 additions and 0 deletions
|
@ -3680,6 +3680,7 @@ int8 CRunningScript::ProcessCommandsFrom400To499(int32 command)
|
||||||
CPlayerPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
|
CPlayerPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
|
||||||
assert(pPed);
|
assert(pPed);
|
||||||
pPed->m_nSelectedWepSlot = pPed->GiveWeapon((eWeaponType)ScriptParams[1], ScriptParams[2]);
|
pPed->m_nSelectedWepSlot = pPed->GiveWeapon((eWeaponType)ScriptParams[1], ScriptParams[2]);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_GIVE_WEAPON_TO_CHAR:
|
case COMMAND_GIVE_WEAPON_TO_CHAR:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue