18.08.2012, 01:29
Quote:
[pawn]static cell AMX_NATIVE_CALL vs_AddStaticVehicle(AMX *amx, cell *params)
{ int model = params[ 1 ]; float X = amx_ctof( params[ 2 ] ); float Y = amx_ctof( params[ 3 ] ); float Z = amx_ctof( params[ 4 ] ); float A = amx_ctof( params[ 5 ] ); int color1 = params[ 6 ]; int color2 = params[ 7 ]; logprintf("AddStaticVehicle( %d, %f, %f, %f, %f, %d, %d );", model, X, Y, Z, A, color1, color2 ); int id = AddStaticVehicle( model, X, Y, Z, A, color1, color2 ); return id; } |