Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{Scripting ES}}
- {{Title}}
- {{0.3Added ES|a|NPC callback}}
- {{Description|Este callback es llamado cuando un NPC entra a un vehiculo.}}
- {{Parameters ES|vehicleid, seatid}}
- {{Param|vehicleid|ID del vehiculo en el que el NPC ingreso.}}
- {{Param|seatid|ID del asiento que el NPC usa.}}
- '''Ejemplo:'''
- <pawn>
- public OnNPCEnterVehicle(vehicleid, seatid)
- {
- printf("OnNPCEnterVehicle ID: %d asiento: %d", vehicleid, seatid);
- return 1;
- }
- </pawn>
- {{RelatedFunctions ES}}
- {{NPC:OnNPCExitVehicle ES}}
- [[Category:NPC ES]]
- [[Category:Scripting Callbacks ES]]
Advertisement
Add Comment
Please, Sign In to add comment