Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* function: SET_VEHICLE_NUMBER_PLATE_TEXT */
- static int lua_natives_VEHICLE_SET_VEHICLE_NUMBER_PLATE_TEXT(lua_State* lua_S)
- {
- lua_Error lua_err;
- if (
- !lua_isnumber(lua_S,1,0,&lua_err) ||
- !lua_isstring(lua_S,2,0,&lua_err) ||
- !lua_isnoobj(lua_S,3,&lua_err)
- )
- goto lua_lerror;
- else
- {
- unsigned long p0 = ((unsigned long) lua_tonumber(lua_S,1,0));
- char* p1 = ((char*) lua_tostring(lua_S,2,0));
- {
- SET_VEHICLE_NUMBER_PLATE_TEXT(p0,p1);
- }
- }
- return 0;
- lua_lerror:
- lua_error(lua_S,"#ferror in function 'SET_VEHICLE_NUMBER_PLATE_TEXT'.",&lua_err);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement